HEX: #E6D908
RGB: (230,217,8)
#E6D908 contains mainly red and green colors. Web safe color of #E6D908 is #CCCC00 (or #CC0).
#E6D908 color RGB value is (230,217,8).
RGB: (230,217,8) (90%,85%,3%)
R 230 of 255 = 90%
G 217 of 255 = 85%
B 8 of 255 = 3%
R + G + B ~ 59%. #E6D908 is middle color (not dark and not light).
R + G + B =
230 + 217 + 8 = 455 (100%)
R 230 of 455 ~ 50.55%
G 217 of 455 ~ 47.69%
B 8 of 455 ~ 1.76%
#E6D908 color CMYK value is (0,6,97,10).
CMYK: (0,6,97,10) C0M6Y97K10 (0%,6%,97%,10%) (0.00/0.06/0.97/0.10)
E6 | D9 | 08 | |
---|---|---|---|
RGB | 230 | 217 | 8 |
HSL | 56° | 93.28% | 46.67% |
HSB/HSV | 56° | 96.52% | 90.20% |
CMYK | 0.00% | 5.65% | 96.52% |
9.80% |
HEX | E6 | D9 | 08 |
Decimal | 230 | 217 | 8 |
Binary | 11100110 | 11011001 | 1000 |
Octal | 346 | 331 | 10 |
Examples of css and html codes for elements with #E6D908 color. Also use rgb(230,217,8) instead hex code.
.myTextColor { color: #E6D908; }
<p style="color:#E6D908">This sample text font color is #E6D908.</p>
This text font color is #E6D908.
.myBgColor { background-color: #E6D908; }
<div style="background-color:#E6D908">Inner text</div>
This div background color is #E6D908.
.myBorderColor { border: 1px solid #E6D908; }
<div style="border:3px solid #E6D908">Div</div>
This div border color is #E6D908.
.myOpacity80 { color: #E6D908; opacity: 0.8; }
<p style="color:#E6D908;opacity:0.8;">80%</p>
Text with #E6D908 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E6D908;}
<p style="text-shadow: 3px 3px 1px #E6D908">Text here.</p>
This text has shadow with #E6D908 color.
.textShadow {text-shadow: 3px 3px 1px #E6D908, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E6D908, 5px 5px 20px red">Text here.</p>
This text has shadow with #E6D908 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E6D908, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E6D908, Direction=45, Strength=4)">Text</p>
This text has shadow with #E6D908 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E6D908; -webkit-box-shadow: 1px 1px 3px 2px #E6D908; box-shadow: 1px 1px 3px 2px #E6D908; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E6D908; -webkit-box-shadow: 1px 1px 3px 2px #E6D908; box-shadow:1px 1px 3px 2px #E6D908;">
Div content here</div>
This text has color #E6D908 on black background.
This text has color #E6D908 on white background.
This text has black color on #E6D908 background.
This text has white color on #E6D908 background.