Yellow RGB code = 255*65536+255*256+0 = #FFFF00
RED=255, GREEN=255, BLUE=0
Color | HTML / CSS Color Name |
Hex Code #RRGGBB |
Decimal Code (R,G,B) |
---|---|---|---|
lightyellow | #FFFFE0 | rgb(255,255,224) | |
lemonchiffon | #FFFACD | rgb(255,250,205) | |
lightgoldenrodyellow | #FAFAD2 | rgb(250,250,210) | |
papayawhip | #FFEFD5 | rgb(255,239,213) | |
moccasin | #FFE4B5 | rgb(255,228,181) | |
peachpuff | #FFDAB9 | rgb(255,218,185) | |
palegoldenrod | #EEE8AA | rgb(238,232,170) | |
khaki | #F0E68C | rgb(240,230,140) | |
darkkhaki | #BDB76B | rgb(189,183,107) | |
yellow | #FFFF00 | rgb(255,255,0) | |
olive | #808000 | rgb(128,128,0) | |
greenyellow | #ADFF2F | rgb(173,255,47) | |
yellowgreen | #9ACD32 | rgb(154,205,50) |
Color | Non HTML Color Name |
Hex Code #RRGGBB |
Decimal Code R,G,B |
---|---|---|---|
Light yellow1 | #FFFFCC | rgb(255,255,204) | |
Light yellow2 | #FFFF99 | rgb(255,255,153) | |
Light yellow3 | #FFFF66 | rgb(255,255,102) | |
Light yellow4 | #FFFF33 | rgb(255,255,51) | |
Yellow | #FFFF00 | rgb(255,255,0) | |
Dark yellow1 | #CCCC00 | rgb(204,204,0) | |
Dark yellow2 | #999900 | rgb(153,153,0) | |
Dark yellow3 | #666600 | rgb(102,102,0) | |
Dark yellow4 | #333300 | rgb(51,51,0) |
Code:
<p style="color:yellow; background:black">These fonts are yellow!</p>
Result:
These fonts are yellow!
OR
<p style="color:#FFFF00; background:black">These fonts are yellow, too!</p>
Result:
These fonts are yellow, too!
OR
<p style="color:rgb(255,255,0); background:black">These fonts are yellow, too!</p>
Result:
These fonts are yellow, too!
Code:
<p style="color:black; background:yellow">Background color is yellow</p>
Result:
Background color is yellow
Yellow color codes, such as hex and RGB values, are numerical representations that allow designers to pinpoint and reproduce specific shades of yellow accurately. These codes are crucial in ensuring color consistency in web design, graphic projects, and digital media, regardless of the viewing device or platform.