@@ -850,11 +850,12 @@ <h4 id=rgb-color><span class=secno>4.2.1. </span>RGB color values</h4>
850850
851851 < p > The format of an RGB value in hexadecimal notation is a ‘< code
852852 class =css > #</ code > ’ immediately followed by either three or six
853- hexadecimal characters. The three-digit RGB notation (#rgb) is converted
854- into six-digit form (#rrggbb) by replicating digits, not by adding zeros.
855- For example, #fb0 expands to #ffbb00. This ensures that white (#ffffff)
856- can be specified with the short notation (#fff) and removes any
857- dependencies on the color depth of the display.
853+ hexadecimal characters. The three-digit RGB notation (< span
854+ class =index-def id =rgb > #rgb</ span > ) is converted into six-digit form
855+ (< span class =index-def id =rrggbb > #rrggbb</ span > ) by replicating digits,
856+ not by adding zeros. For example, #fb0 expands to #ffbb00. This ensures
857+ that white (#ffffff) can be specified with the short notation (#fff) and
858+ removes any dependencies on the color depth of the display.
858859
859860 < p > The format of an RGB value in the functional notation is ‘< code
860861 class =css > rgb(</ code > ’ followed by a comma-separated list of three
@@ -5589,7 +5590,8 @@ <h2 class=no-num id=index>Index</h2>
55895590 < li > red, < a href ="#red " title =red > < strong > 4.1.</ strong > </ a > , < a
55905591 href ="#red0 " title =red > < strong > 4.3.</ strong > </ a >
55915592
5592- < li > rgb(), < a href ="#rgb-def " title ="rgb() "> < strong > 4.2.1.</ strong > </ a >
5593+ < li > #rgb, < a href ="#rgb " title ="#rgb "> < strong > 4.2.1.</ strong > </ a > , < a
5594+ href ="#rgb-def " title ="rgb() "> < strong > 4.2.1.</ strong > </ a >
55935595
55945596 < li > rgba(), < a href ="#rgba-def " title ="rgba() "> < strong > 4.2.2.</ strong > </ a >
55955597
@@ -5600,6 +5602,9 @@ <h2 class=no-num id=index>Index</h2>
56005602 < li > royalblue, < a href ="#royalblue "
56015603 title =royalblue > < strong > 4.3.</ strong > </ a >
56025604
5605+ < li > #rrggbb, < a href ="#rrggbb " title ="#rrggbb "> < strong > 4.2.1.</ strong > </ a >
5606+
5607+
56035608 < li > saddlebrown, < a href ="#saddlebrown "
56045609 title =saddlebrown > < strong > 4.3.</ strong > </ a >
56055610
0 commit comments