HEX: #F0CA58
RGB: (240,202,88)
#F0CA58 contains mainly red and green colors. Web safe color of #F0CA58 is #FFCC66 (or #FC6).
#F0CA58 color RGB value is (240,202,88).
RGB: (240,202,88) (94%,79%,35%)
R 240 of 255 = 94%
G 202 of 255 = 79%
B 88 of 255 = 35%
R + G + B ~ 69%. #F0CA58 is quite light color.
R + G + B =
240 + 202 + 88 = 530 (100%)
R 240 of 530 ~ 45.28%
G 202 of 530 ~ 38.11%
B 88 of 530 ~ 16.6%
#F0CA58 color CMYK value is (0,16,63,6).
CMYK: (0,16,63,6) C0M16Y63K6 (0%,16%,63%,6%) (0.00/0.16/0.63/0.06)
F0 | CA | 58 | |
---|---|---|---|
RGB | 240 | 202 | 88 |
HSL | 45° | 83.52% | 64.31% |
HSB/HSV | 45° | 63.33% | 94.12% |
CMYK | 0.00% | 15.83% | 63.33% |
5.88% |
HEX | F0 | CA | 58 |
Decimal | 240 | 202 | 88 |
Binary | 11110000 | 11001010 | 1011000 |
Octal | 360 | 312 | 130 |
Examples of css and html codes for elements with #F0CA58 color. Also use rgb(240,202,88) instead hex code.
.myTextColor { color: #F0CA58; }
<p style="color:#F0CA58">This sample text font color is #F0CA58.</p>
This text font color is #F0CA58.
.myBgColor { background-color: #F0CA58; }
<div style="background-color:#F0CA58">Inner text</div>
This div background color is #F0CA58.
.myBorderColor { border: 1px solid #F0CA58; }
<div style="border:3px solid #F0CA58">Div</div>
This div border color is #F0CA58.
.myOpacity80 { color: #F0CA58; opacity: 0.8; }
<p style="color:#F0CA58;opacity:0.8;">80%</p>
Text with #F0CA58 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0CA58;}
<p style="text-shadow: 3px 3px 1px #F0CA58">Text here.</p>
This text has shadow with #F0CA58 color.
.textShadow {text-shadow: 3px 3px 1px #F0CA58, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0CA58, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0CA58 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0CA58, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0CA58, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0CA58 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0CA58; -webkit-box-shadow: 1px 1px 3px 2px #F0CA58; box-shadow: 1px 1px 3px 2px #F0CA58; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0CA58; -webkit-box-shadow: 1px 1px 3px 2px #F0CA58; box-shadow:1px 1px 3px 2px #F0CA58;">
Div content here</div>
This text has color #F0CA58 on black background.
This text has color #F0CA58 on white background.
This text has black color on #F0CA58 background.
This text has white color on #F0CA58 background.