File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1940,19 +1940,19 @@ Specifying Grays: the ''gray()'' functional notation</h2>
19401940 Grays are fully desaturated colors.
19411941 The ''gray()'' functional notation simplifies specifying this common set of colors,
19421942 so that only a single numerical parameter is required,
1943- and so that gray(50) is a visual mid-gray
1943+ and so that gray(50% ) is a visual mid-gray
19441944 (perceptually equidistant between black and white).
19451945
19461946 <pre class='prod'>
1947- <dfn>gray()</dfn> = gray( <<number >> [ / <<alpha-value>> ]? )
1947+ <dfn>gray()</dfn> = gray( <<percentage >> [ / <<alpha-value>> ]? )
19481948 </pre>
19491949
19501950 The first argument specifies the shade of gray,
19511951 equal to the CIE Lightness,
19521952 while the second optional argument specifies the alpha channel of the gray.
19531953
19541954 Note: In other words,
1955- ''gray(a / b)'' is equal to ''lab(a 0 0 / b)'' .
1955+ ''gray(a% / b)'' is equal to ''lab(a% 0 0 / b)'' .
19561956
19571957<h3 id='gray-to-rgb'>
19581958Converting gray colors to sRGB colors</h3>
You can’t perform that action at this time.
0 commit comments