HEX: #FFD800
RGB: (255,216,0)
#FFD800 contains only red and green colors. Web safe color of #FFD800 is #FFCC00 (or #FC0).
#FFD800 color RGB value is (255,216,0).
RGB: (255,216,0) (100%,85%,0%)
R 255 of 255 = 100%
G 216 of 255 = 85%
B 0 of 255 = 0%
R + G + B ~ 62%. #FFD800 is quite light color.
R + G + B =
255 + 216 + 0 = 471 (100%)
R 255 of 471 ~ 54.14%
G 216 of 471 ~ 45.86%
B 0 of 471 ~ 0%
#FFD800 color CMYK value is (0,15,100,0).
CMYK: (0,15,100,0) C0M15Y100K0 (0%,15%,100%,0%) (0.00/0.15/1.00/0.00)
FF | D8 | 00 | |
---|---|---|---|
RGB | 255 | 216 | 0 |
HSL | 51° | 100.00% | 50.00% |
HSB/HSV | 51° | 100.00% | 100.00% |
CMYK | 0.00% | 15.29% | 100.00% |
0.00% |
HEX | FF | D8 | 00 |
Decimal | 255 | 216 | 0 |
Binary | 11111111 | 11011000 | 0 |
Octal | 377 | 330 | 0 |
Examples of css and html codes for elements with #FFD800 color. Also use rgb(255,216,0) instead hex code.
.myTextColor { color: #FFD800; }
<p style="color:#FFD800">This sample text font color is #FFD800.</p>
This text font color is #FFD800.
.myBgColor { background-color: #FFD800; }
<div style="background-color:#FFD800">Inner text</div>
This div background color is #FFD800.
.myBorderColor { border: 1px solid #FFD800; }
<div style="border:3px solid #FFD800">Div</div>
This div border color is #FFD800.
.myOpacity80 { color: #FFD800; opacity: 0.8; }
<p style="color:#FFD800;opacity:0.8;">80%</p>
Text with #FFD800 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFD800;}
<p style="text-shadow: 3px 3px 1px #FFD800">Text here.</p>
This text has shadow with #FFD800 color.
.textShadow {text-shadow: 3px 3px 1px #FFD800, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFD800, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFD800 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFD800, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFD800, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFD800 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFD800; -webkit-box-shadow: 1px 1px 3px 2px #FFD800; box-shadow: 1px 1px 3px 2px #FFD800; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFD800; -webkit-box-shadow: 1px 1px 3px 2px #FFD800; box-shadow:1px 1px 3px 2px #FFD800;">
Div content here</div>
This text has color #FFD800 on black background.
This text has color #FFD800 on white background.
This text has black color on #FFD800 background.
This text has white color on #FFD800 background.