HEX: #FAB20E
RGB: (250,178,14)
#FAB20E contains mainly red color. Web safe color of #FAB20E is #FF9900 (or #F90).
#FAB20E color RGB value is (250,178,14).
RGB: (250,178,14) (98%,70%,5%)
R 250 of 255 = 98%
G 178 of 255 = 70%
B 14 of 255 = 5%
R + G + B ~ 58%. #FAB20E is middle color (not dark and not light).
R + G + B =
250 + 178 + 14 = 442 (100%)
R 250 of 442 ~ 56.56%
G 178 of 442 ~ 40.27%
B 14 of 442 ~ 3.17%
#FAB20E color CMYK value is (0,29,94,2).
CMYK: (0,29,94,2) C0M29Y94K2 (0%,29%,94%,2%) (0.00/0.29/0.94/0.02)
FA | B2 | 0E | |
---|---|---|---|
RGB | 250 | 178 | 14 |
HSL | 42° | 95.93% | 51.76% |
HSB/HSV | 42° | 94.40% | 98.04% |
CMYK | 0.00% | 28.80% | 94.40% |
1.96% |
HEX | FA | B2 | 0E |
Decimal | 250 | 178 | 14 |
Binary | 11111010 | 10110010 | 1110 |
Octal | 372 | 262 | 16 |
Examples of css and html codes for elements with #FAB20E color. Also use rgb(250,178,14) instead hex code.
.myTextColor { color: #FAB20E; }
<p style="color:#FAB20E">This sample text font color is #FAB20E.</p>
This text font color is #FAB20E.
.myBgColor { background-color: #FAB20E; }
<div style="background-color:#FAB20E">Inner text</div>
This div background color is #FAB20E.
.myBorderColor { border: 1px solid #FAB20E; }
<div style="border:3px solid #FAB20E">Div</div>
This div border color is #FAB20E.
.myOpacity80 { color: #FAB20E; opacity: 0.8; }
<p style="color:#FAB20E;opacity:0.8;">80%</p>
Text with #FAB20E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAB20E;}
<p style="text-shadow: 3px 3px 1px #FAB20E">Text here.</p>
This text has shadow with #FAB20E color.
.textShadow {text-shadow: 3px 3px 1px #FAB20E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAB20E, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAB20E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAB20E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAB20E, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAB20E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAB20E; -webkit-box-shadow: 1px 1px 3px 2px #FAB20E; box-shadow: 1px 1px 3px 2px #FAB20E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAB20E; -webkit-box-shadow: 1px 1px 3px 2px #FAB20E; box-shadow:1px 1px 3px 2px #FAB20E;">
Div content here</div>
This text has color #FAB20E on black background.
This text has color #FAB20E on white background.
This text has black color on #FAB20E background.
This text has white color on #FAB20E background.