HEX: #F8BE21
RGB: (248,190,33)
#F8BE21 contains mainly red and green colors. Web safe color of #F8BE21 is #FFCC33 (or #FC3).
#F8BE21 color RGB value is (248,190,33).
RGB: (248,190,33) (97%,75%,13%)
R 248 of 255 = 97%
G 190 of 255 = 75%
B 33 of 255 = 13%
R + G + B ~ 62%. #F8BE21 is quite light color.
R + G + B =
248 + 190 + 33 = 471 (100%)
R 248 of 471 ~ 52.65%
G 190 of 471 ~ 40.34%
B 33 of 471 ~ 7.01%
#F8BE21 color CMYK value is (0,23,87,3).
CMYK: (0,23,87,3) C0M23Y87K3 (0%,23%,87%,3%) (0.00/0.23/0.87/0.03)
F8 | BE | 21 | |
---|---|---|---|
RGB | 248 | 190 | 33 |
HSL | 44° | 93.89% | 55.10% |
HSB/HSV | 44° | 86.69% | 97.25% |
CMYK | 0.00% | 23.39% | 86.69% |
2.75% |
HEX | F8 | BE | 21 |
Decimal | 248 | 190 | 33 |
Binary | 11111000 | 10111110 | 100001 |
Octal | 370 | 276 | 41 |
Examples of css and html codes for elements with #F8BE21 color. Also use rgb(248,190,33) instead hex code.
.myTextColor { color: #F8BE21; }
<p style="color:#F8BE21">This sample text font color is #F8BE21.</p>
This text font color is #F8BE21.
.myBgColor { background-color: #F8BE21; }
<div style="background-color:#F8BE21">Inner text</div>
This div background color is #F8BE21.
.myBorderColor { border: 1px solid #F8BE21; }
<div style="border:3px solid #F8BE21">Div</div>
This div border color is #F8BE21.
.myOpacity80 { color: #F8BE21; opacity: 0.8; }
<p style="color:#F8BE21;opacity:0.8;">80%</p>
Text with #F8BE21 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8BE21;}
<p style="text-shadow: 3px 3px 1px #F8BE21">Text here.</p>
This text has shadow with #F8BE21 color.
.textShadow {text-shadow: 3px 3px 1px #F8BE21, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8BE21, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8BE21 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8BE21, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8BE21, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8BE21 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8BE21; -webkit-box-shadow: 1px 1px 3px 2px #F8BE21; box-shadow: 1px 1px 3px 2px #F8BE21; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8BE21; -webkit-box-shadow: 1px 1px 3px 2px #F8BE21; box-shadow:1px 1px 3px 2px #F8BE21;">
Div content here</div>
This text has color #F8BE21 on black background.
This text has color #F8BE21 on white background.
This text has black color on #F8BE21 background.
This text has white color on #F8BE21 background.