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