HEX: #FBBF12
RGB: (251,191,18)
#FBBF12 contains mainly red color. Web safe color of #FBBF12 is #FFCC00 (or #FC0).
#FBBF12 color RGB value is (251,191,18).
RGB: (251,191,18) (98%,75%,7%)
R 251 of 255 = 98%
G 191 of 255 = 75%
B 18 of 255 = 7%
R + G + B ~ 60%. #FBBF12 is middle color (not dark and not light).
R + G + B =
251 + 191 + 18 = 460 (100%)
R 251 of 460 ~ 54.57%
G 191 of 460 ~ 41.52%
B 18 of 460 ~ 3.91%
#FBBF12 color CMYK value is (0,24,93,2).
CMYK: (0,24,93,2) C0M24Y93K2 (0%,24%,93%,2%) (0.00/0.24/0.93/0.02)
FB | BF | 12 | |
---|---|---|---|
RGB | 251 | 191 | 18 |
HSL | 45° | 96.68% | 52.75% |
HSB/HSV | 45° | 92.83% | 98.43% |
CMYK | 0.00% | 23.90% | 92.83% |
1.57% |
HEX | FB | BF | 12 |
Decimal | 251 | 191 | 18 |
Binary | 11111011 | 10111111 | 10010 |
Octal | 373 | 277 | 22 |
Examples of css and html codes for elements with #FBBF12 color. Also use rgb(251,191,18) instead hex code.
.myTextColor { color: #FBBF12; }
<p style="color:#FBBF12">This sample text font color is #FBBF12.</p>
This text font color is #FBBF12.
.myBgColor { background-color: #FBBF12; }
<div style="background-color:#FBBF12">Inner text</div>
This div background color is #FBBF12.
.myBorderColor { border: 1px solid #FBBF12; }
<div style="border:3px solid #FBBF12">Div</div>
This div border color is #FBBF12.
.myOpacity80 { color: #FBBF12; opacity: 0.8; }
<p style="color:#FBBF12;opacity:0.8;">80%</p>
Text with #FBBF12 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FBBF12;}
<p style="text-shadow: 3px 3px 1px #FBBF12">Text here.</p>
This text has shadow with #FBBF12 color.
.textShadow {text-shadow: 3px 3px 1px #FBBF12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FBBF12, 5px 5px 20px red">Text here.</p>
This text has shadow with #FBBF12 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FBBF12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FBBF12, Direction=45, Strength=4)">Text</p>
This text has shadow with #FBBF12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FBBF12; -webkit-box-shadow: 1px 1px 3px 2px #FBBF12; box-shadow: 1px 1px 3px 2px #FBBF12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FBBF12; -webkit-box-shadow: 1px 1px 3px 2px #FBBF12; box-shadow:1px 1px 3px 2px #FBBF12;">
Div content here</div>
This text has color #FBBF12 on black background.
This text has color #FBBF12 on white background.
This text has black color on #FBBF12 background.
This text has white color on #FBBF12 background.