HEX: #F2AB0B
RGB: (242,171,11)
#F2AB0B contains mainly red color. Web safe color of #F2AB0B is #FF9900 (or #F90).
#F2AB0B color RGB value is (242,171,11).
RGB: (242,171,11) (95%,67%,4%)
R 242 of 255 = 95%
G 171 of 255 = 67%
B 11 of 255 = 4%
R + G + B ~ 55%. #F2AB0B is middle color (not dark and not light).
R + G + B =
242 + 171 + 11 = 424 (100%)
R 242 of 424 ~ 57.08%
G 171 of 424 ~ 40.33%
B 11 of 424 ~ 2.59%
#F2AB0B color CMYK value is (0,29,95,5).
CMYK: (0,29,95,5) C0M29Y95K5 (0%,29%,95%,5%) (0.00/0.29/0.95/0.05)
F2 | AB | 0B | |
---|---|---|---|
RGB | 242 | 171 | 11 |
HSL | 42° | 91.30% | 49.61% |
HSB/HSV | 42° | 95.45% | 94.90% |
CMYK | 0.00% | 29.34% | 95.45% |
5.10% |
HEX | F2 | AB | 0B |
Decimal | 242 | 171 | 11 |
Binary | 11110010 | 10101011 | 1011 |
Octal | 362 | 253 | 13 |
Examples of css and html codes for elements with #F2AB0B color. Also use rgb(242,171,11) instead hex code.
.myTextColor { color: #F2AB0B; }
<p style="color:#F2AB0B">This sample text font color is #F2AB0B.</p>
This text font color is #F2AB0B.
.myBgColor { background-color: #F2AB0B; }
<div style="background-color:#F2AB0B">Inner text</div>
This div background color is #F2AB0B.
.myBorderColor { border: 1px solid #F2AB0B; }
<div style="border:3px solid #F2AB0B">Div</div>
This div border color is #F2AB0B.
.myOpacity80 { color: #F2AB0B; opacity: 0.8; }
<p style="color:#F2AB0B;opacity:0.8;">80%</p>
Text with #F2AB0B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2AB0B;}
<p style="text-shadow: 3px 3px 1px #F2AB0B">Text here.</p>
This text has shadow with #F2AB0B color.
.textShadow {text-shadow: 3px 3px 1px #F2AB0B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2AB0B, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2AB0B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2AB0B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2AB0B, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2AB0B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2AB0B; -webkit-box-shadow: 1px 1px 3px 2px #F2AB0B; box-shadow: 1px 1px 3px 2px #F2AB0B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2AB0B; -webkit-box-shadow: 1px 1px 3px 2px #F2AB0B; box-shadow:1px 1px 3px 2px #F2AB0B;">
Div content here</div>
This text has color #F2AB0B on black background.
This text has color #F2AB0B on white background.
This text has black color on #F2AB0B background.
This text has white color on #F2AB0B background.