HEX: #FBE506
RGB: (251,229,6)
#FBE506 contains mainly red and green colors. Web safe color of #FBE506 is #FFCC00 (or #FC0).
#FBE506 color RGB value is (251,229,6).
RGB: (251,229,6) (98%,90%,2%)
R 251 of 255 = 98%
G 229 of 255 = 90%
B 6 of 255 = 2%
R + G + B ~ 63%. #FBE506 is quite light color.
R + G + B =
251 + 229 + 6 = 486 (100%)
R 251 of 486 ~ 51.65%
G 229 of 486 ~ 47.12%
B 6 of 486 ~ 1.23%
#FBE506 color CMYK value is (0,9,98,2).
CMYK: (0,9,98,2) C0M9Y98K2 (0%,9%,98%,2%) (0.00/0.09/0.98/0.02)
FB | E5 | 06 | |
---|---|---|---|
RGB | 251 | 229 | 6 |
HSL | 55° | 96.84% | 50.39% |
HSB/HSV | 55° | 97.61% | 98.43% |
CMYK | 0.00% | 8.76% | 97.61% |
1.57% |
HEX | FB | E5 | 06 |
Decimal | 251 | 229 | 6 |
Binary | 11111011 | 11100101 | 110 |
Octal | 373 | 345 | 6 |
Examples of css and html codes for elements with #FBE506 color. Also use rgb(251,229,6) instead hex code.
.myTextColor { color: #FBE506; }
<p style="color:#FBE506">This sample text font color is #FBE506.</p>
This text font color is #FBE506.
.myBgColor { background-color: #FBE506; }
<div style="background-color:#FBE506">Inner text</div>
This div background color is #FBE506.
.myBorderColor { border: 1px solid #FBE506; }
<div style="border:3px solid #FBE506">Div</div>
This div border color is #FBE506.
.myOpacity80 { color: #FBE506; opacity: 0.8; }
<p style="color:#FBE506;opacity:0.8;">80%</p>
Text with #FBE506 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FBE506;}
<p style="text-shadow: 3px 3px 1px #FBE506">Text here.</p>
This text has shadow with #FBE506 color.
.textShadow {text-shadow: 3px 3px 1px #FBE506, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FBE506, 5px 5px 20px red">Text here.</p>
This text has shadow with #FBE506 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FBE506, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FBE506, Direction=45, Strength=4)">Text</p>
This text has shadow with #FBE506 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FBE506; -webkit-box-shadow: 1px 1px 3px 2px #FBE506; box-shadow: 1px 1px 3px 2px #FBE506; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FBE506; -webkit-box-shadow: 1px 1px 3px 2px #FBE506; box-shadow:1px 1px 3px 2px #FBE506;">
Div content here</div>
This text has color #FBE506 on black background.
This text has color #FBE506 on white background.
This text has black color on #FBE506 background.
This text has white color on #FBE506 background.