HEX: #F2BF5A
RGB: (242,191,90)
#F2BF5A contains mainly red and green colors. Web safe color of #F2BF5A is #FFCC66 (or #FC6).
#F2BF5A color RGB value is (242,191,90).
RGB: (242,191,90) (95%,75%,35%)
R 242 of 255 = 95%
G 191 of 255 = 75%
B 90 of 255 = 35%
R + G + B ~ 68%. #F2BF5A is quite light color.
R + G + B =
242 + 191 + 90 = 523 (100%)
R 242 of 523 ~ 46.27%
G 191 of 523 ~ 36.52%
B 90 of 523 ~ 17.21%
#F2BF5A color CMYK value is (0,21,63,5).
CMYK: (0,21,63,5) C0M21Y63K5 (0%,21%,63%,5%) (0.00/0.21/0.63/0.05)
F2 | BF | 5A | |
---|---|---|---|
RGB | 242 | 191 | 90 |
HSL | 40° | 85.39% | 65.10% |
HSB/HSV | 40° | 62.81% | 94.90% |
CMYK | 0.00% | 21.07% | 62.81% |
5.10% |
HEX | F2 | BF | 5A |
Decimal | 242 | 191 | 90 |
Binary | 11110010 | 10111111 | 1011010 |
Octal | 362 | 277 | 132 |
Examples of css and html codes for elements with #F2BF5A color. Also use rgb(242,191,90) instead hex code.
.myTextColor { color: #F2BF5A; }
<p style="color:#F2BF5A">This sample text font color is #F2BF5A.</p>
This text font color is #F2BF5A.
.myBgColor { background-color: #F2BF5A; }
<div style="background-color:#F2BF5A">Inner text</div>
This div background color is #F2BF5A.
.myBorderColor { border: 1px solid #F2BF5A; }
<div style="border:3px solid #F2BF5A">Div</div>
This div border color is #F2BF5A.
.myOpacity80 { color: #F2BF5A; opacity: 0.8; }
<p style="color:#F2BF5A;opacity:0.8;">80%</p>
Text with #F2BF5A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2BF5A;}
<p style="text-shadow: 3px 3px 1px #F2BF5A">Text here.</p>
This text has shadow with #F2BF5A color.
.textShadow {text-shadow: 3px 3px 1px #F2BF5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2BF5A, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2BF5A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2BF5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2BF5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2BF5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2BF5A; -webkit-box-shadow: 1px 1px 3px 2px #F2BF5A; box-shadow: 1px 1px 3px 2px #F2BF5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2BF5A; -webkit-box-shadow: 1px 1px 3px 2px #F2BF5A; box-shadow:1px 1px 3px 2px #F2BF5A;">
Div content here</div>
This text has color #F2BF5A on black background.
This text has color #F2BF5A on white background.
This text has black color on #F2BF5A background.
This text has white color on #F2BF5A background.