HEX: #FAFA0B
RGB: (250,250,11)
#FAFA0B contains mainly red and green colors. Web safe color of #FAFA0B is #FFFF00 (or #FF0).
#FAFA0B color RGB value is (250,250,11).
RGB: (250,250,11) (98%,98%,4%)
R 250 of 255 = 98%
G 250 of 255 = 98%
B 11 of 255 = 4%
R + G + B ~ 67%. #FAFA0B is quite light color.
R + G + B =
250 + 250 + 11 = 511 (100%)
R 250 of 511 ~ 48.92%
G 250 of 511 ~ 48.92%
B 11 of 511 ~ 2.15%
#FAFA0B color CMYK value is (0,0,96,2).
CMYK: (0,0,96,2) C0M0Y96K2 (0%,0%,96%,2%) (0.00/0.00/0.96/0.02)
FA | FA | 0B | |
---|---|---|---|
RGB | 250 | 250 | 11 |
HSL | 60° | 95.98% | 51.18% |
HSB/HSV | 60° | 95.60% | 98.04% |
CMYK | 0.00% | 0.00% | 95.60% |
1.96% |
HEX | FA | FA | 0B |
Decimal | 250 | 250 | 11 |
Binary | 11111010 | 11111010 | 1011 |
Octal | 372 | 372 | 13 |
Examples of css and html codes for elements with #FAFA0B color. Also use rgb(250,250,11) instead hex code.
.myTextColor { color: #FAFA0B; }
<p style="color:#FAFA0B">This sample text font color is #FAFA0B.</p>
This text font color is #FAFA0B.
.myBgColor { background-color: #FAFA0B; }
<div style="background-color:#FAFA0B">Inner text</div>
This div background color is #FAFA0B.
.myBorderColor { border: 1px solid #FAFA0B; }
<div style="border:3px solid #FAFA0B">Div</div>
This div border color is #FAFA0B.
.myOpacity80 { color: #FAFA0B; opacity: 0.8; }
<p style="color:#FAFA0B;opacity:0.8;">80%</p>
Text with #FAFA0B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAFA0B;}
<p style="text-shadow: 3px 3px 1px #FAFA0B">Text here.</p>
This text has shadow with #FAFA0B color.
.textShadow {text-shadow: 3px 3px 1px #FAFA0B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAFA0B, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAFA0B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAFA0B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAFA0B, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAFA0B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAFA0B; -webkit-box-shadow: 1px 1px 3px 2px #FAFA0B; box-shadow: 1px 1px 3px 2px #FAFA0B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAFA0B; -webkit-box-shadow: 1px 1px 3px 2px #FAFA0B; box-shadow:1px 1px 3px 2px #FAFA0B;">
Div content here</div>
This text has color #FAFA0B on black background.
This text has color #FAFA0B on white background.
This text has black color on #FAFA0B background.
This text has white color on #FAFA0B background.