HEX: #FAA704
RGB: (250,167,4)
#FAA704 contains mainly red color. Web safe color of #FAA704 is #FF9900 (or #F90).
#FAA704 color RGB value is (250,167,4).
RGB: (250,167,4) (98%,65%,2%)
R 250 of 255 = 98%
G 167 of 255 = 65%
B 4 of 255 = 2%
R + G + B ~ 55%. #FAA704 is middle color (not dark and not light).
R + G + B =
250 + 167 + 4 = 421 (100%)
R 250 of 421 ~ 59.38%
G 167 of 421 ~ 39.67%
B 4 of 421 ~ 0.95%
#FAA704 color CMYK value is (0,33,98,2).
CMYK: (0,33,98,2) C0M33Y98K2 (0%,33%,98%,2%) (0.00/0.33/0.98/0.02)
FA | A7 | 04 | |
---|---|---|---|
RGB | 250 | 167 | 4 |
HSL | 40° | 96.85% | 49.80% |
HSB/HSV | 40° | 98.40% | 98.04% |
CMYK | 0.00% | 33.20% | 98.40% |
1.96% |
HEX | FA | A7 | 04 |
Decimal | 250 | 167 | 4 |
Binary | 11111010 | 10100111 | 100 |
Octal | 372 | 247 | 4 |
Examples of css and html codes for elements with #FAA704 color. Also use rgb(250,167,4) instead hex code.
.myTextColor { color: #FAA704; }
<p style="color:#FAA704">This sample text font color is #FAA704.</p>
This text font color is #FAA704.
.myBgColor { background-color: #FAA704; }
<div style="background-color:#FAA704">Inner text</div>
This div background color is #FAA704.
.myBorderColor { border: 1px solid #FAA704; }
<div style="border:3px solid #FAA704">Div</div>
This div border color is #FAA704.
.myOpacity80 { color: #FAA704; opacity: 0.8; }
<p style="color:#FAA704;opacity:0.8;">80%</p>
Text with #FAA704 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAA704;}
<p style="text-shadow: 3px 3px 1px #FAA704">Text here.</p>
This text has shadow with #FAA704 color.
.textShadow {text-shadow: 3px 3px 1px #FAA704, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAA704, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAA704 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAA704, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAA704, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAA704 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAA704; -webkit-box-shadow: 1px 1px 3px 2px #FAA704; box-shadow: 1px 1px 3px 2px #FAA704; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAA704; -webkit-box-shadow: 1px 1px 3px 2px #FAA704; box-shadow:1px 1px 3px 2px #FAA704;">
Div content here</div>
This text has color #FAA704 on black background.
This text has color #FAA704 on white background.
This text has black color on #FAA704 background.
This text has white color on #FAA704 background.