HEX: #FAF11E
RGB: (250,241,30)
#FAF11E contains mainly red and green colors. Web safe color of #FAF11E is #FFFF33 (or #FF3).
#FAF11E color RGB value is (250,241,30).
RGB: (250,241,30) (98%,95%,12%)
R 250 of 255 = 98%
G 241 of 255 = 95%
B 30 of 255 = 12%
R + G + B ~ 68%. #FAF11E is quite light color.
R + G + B =
250 + 241 + 30 = 521 (100%)
R 250 of 521 ~ 47.98%
G 241 of 521 ~ 46.26%
B 30 of 521 ~ 5.76%
#FAF11E color CMYK value is (0,4,88,2).
CMYK: (0,4,88,2) C0M4Y88K2 (0%,4%,88%,2%) (0.00/0.04/0.88/0.02)
FA | F1 | 1E | |
---|---|---|---|
RGB | 250 | 241 | 30 |
HSL | 58° | 95.65% | 54.90% |
HSB/HSV | 58° | 88.00% | 98.04% |
CMYK | 0.00% | 3.60% | 88.00% |
1.96% |
HEX | FA | F1 | 1E |
Decimal | 250 | 241 | 30 |
Binary | 11111010 | 11110001 | 11110 |
Octal | 372 | 361 | 36 |
Examples of css and html codes for elements with #FAF11E color. Also use rgb(250,241,30) instead hex code.
.myTextColor { color: #FAF11E; }
<p style="color:#FAF11E">This sample text font color is #FAF11E.</p>
This text font color is #FAF11E.
.myBgColor { background-color: #FAF11E; }
<div style="background-color:#FAF11E">Inner text</div>
This div background color is #FAF11E.
.myBorderColor { border: 1px solid #FAF11E; }
<div style="border:3px solid #FAF11E">Div</div>
This div border color is #FAF11E.
.myOpacity80 { color: #FAF11E; opacity: 0.8; }
<p style="color:#FAF11E;opacity:0.8;">80%</p>
Text with #FAF11E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAF11E;}
<p style="text-shadow: 3px 3px 1px #FAF11E">Text here.</p>
This text has shadow with #FAF11E color.
.textShadow {text-shadow: 3px 3px 1px #FAF11E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAF11E, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAF11E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAF11E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAF11E, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAF11E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAF11E; -webkit-box-shadow: 1px 1px 3px 2px #FAF11E; box-shadow: 1px 1px 3px 2px #FAF11E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAF11E; -webkit-box-shadow: 1px 1px 3px 2px #FAF11E; box-shadow:1px 1px 3px 2px #FAF11E;">
Div content here</div>
This text has color #FAF11E on black background.
This text has color #FAF11E on white background.
This text has black color on #FAF11E background.
This text has white color on #FAF11E background.