mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Update Colors.md
This commit is contained in:
@@ -149,7 +149,7 @@ The WCAG defines the [contrast ratio] as:
|
|||||||
|
|
||||||
$$contrast\ ratio = { L_1 + 0.05 \over L_2 + 0.05 }$$
|
$$contrast\ ratio = { L_1 + 0.05 \over L_2 + 0.05 }$$
|
||||||
|
|
||||||
where $L_1$ is the relative luminance of the lighest color and $L_2$ is the relative luminance of the darkest color.
|
where $L_1$ is the relative luminance of the lightest color and $L_2$ is the relative luminance of the darkest color.
|
||||||
|
|
||||||
Calculate the contrast ratio to determine WCAG conformance:
|
Calculate the contrast ratio to determine WCAG conformance:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user