HEX: #FBD012
RGB: (251,208,18)
#FBD012 contains mainly red and green colors. Web safe color of #FBD012 is #FFCC00 (or #FC0).
#FBD012 color RGB value is (251,208,18).
RGB: (251,208,18) (98%,82%,7%)
R 251 of 255 = 98%
G 208 of 255 = 82%
B 18 of 255 = 7%
R + G + B ~ 62%. #FBD012 is quite light color.
R + G + B =
251 + 208 + 18 = 477 (100%)
R 251 of 477 ~ 52.62%
G 208 of 477 ~ 43.61%
B 18 of 477 ~ 3.77%
#FBD012 color CMYK value is (0,17,93,2).
CMYK: (0,17,93,2) C0M17Y93K2 (0%,17%,93%,2%) (0.00/0.17/0.93/0.02)
FB | D0 | 12 | |
---|---|---|---|
RGB | 251 | 208 | 18 |
HSL | 49° | 96.68% | 52.75% |
HSB/HSV | 49° | 92.83% | 98.43% |
CMYK | 0.00% | 17.13% | 92.83% |
1.57% |
HEX | FB | D0 | 12 |
Decimal | 251 | 208 | 18 |
Binary | 11111011 | 11010000 | 10010 |
Octal | 373 | 320 | 22 |
Examples of css and html codes for elements with #FBD012 color. Also use rgb(251,208,18) instead hex code.
.myTextColor { color: #FBD012; }
<p style="color:#FBD012">This sample text font color is #FBD012.</p>
This text font color is #FBD012.
.myBgColor { background-color: #FBD012; }
<div style="background-color:#FBD012">Inner text</div>
This div background color is #FBD012.
.myBorderColor { border: 1px solid #FBD012; }
<div style="border:3px solid #FBD012">Div</div>
This div border color is #FBD012.
.myOpacity80 { color: #FBD012; opacity: 0.8; }
<p style="color:#FBD012;opacity:0.8;">80%</p>
Text with #FBD012 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FBD012;}
<p style="text-shadow: 3px 3px 1px #FBD012">Text here.</p>
This text has shadow with #FBD012 color.
.textShadow {text-shadow: 3px 3px 1px #FBD012, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FBD012, 5px 5px 20px red">Text here.</p>
This text has shadow with #FBD012 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FBD012, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FBD012, Direction=45, Strength=4)">Text</p>
This text has shadow with #FBD012 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FBD012; -webkit-box-shadow: 1px 1px 3px 2px #FBD012; box-shadow: 1px 1px 3px 2px #FBD012; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FBD012; -webkit-box-shadow: 1px 1px 3px 2px #FBD012; box-shadow:1px 1px 3px 2px #FBD012;">
Div content here</div>
This text has color #FBD012 on black background.
This text has color #FBD012 on white background.
This text has black color on #FBD012 background.
This text has white color on #FBD012 background.