HEX: #F06EFA
RGB: (240,110,250)
#F06EFA contains mainly red and blue colors. Web safe color of #F06EFA is #FF66FF (or #F6F).
#F06EFA color RGB value is (240,110,250).
RGB: (240,110,250) (94%,43%,98%)
R 240 of 255 = 94%
G 110 of 255 = 43%
B 250 of 255 = 98%
R + G + B ~ 78%. #F06EFA is quite light color.
R + G + B =
240 + 110 + 250 = 600 (100%)
R 240 of 600 ~ 40%
G 110 of 600 ~ 18.33%
B 250 of 600 ~ 41.67%
#F06EFA color CMYK value is (4,56,0,2).
CMYK: (4,56,0,2) C4M56Y0K2 (4%,56%,0%,2%) (0.04/0.56/0.00/0.02)
F0 | 6E | FA | |
---|---|---|---|
RGB | 240 | 110 | 250 |
HSL | 296° | 93.33% | 70.59% |
HSB/HSV | 296° | 56.00% | 98.04% |
CMYK | 4.00% | 56.00% | 0.00% |
1.96% |
HEX | F0 | 6E | FA |
Decimal | 240 | 110 | 250 |
Binary | 11110000 | 1101110 | 11111010 |
Octal | 360 | 156 | 372 |
Examples of css and html codes for elements with #F06EFA color. Also use rgb(240,110,250) instead hex code.
.myTextColor { color: #F06EFA; }
<p style="color:#F06EFA">This sample text font color is #F06EFA.</p>
This text font color is #F06EFA.
.myBgColor { background-color: #F06EFA; }
<div style="background-color:#F06EFA">Inner text</div>
This div background color is #F06EFA.
.myBorderColor { border: 1px solid #F06EFA; }
<div style="border:3px solid #F06EFA">Div</div>
This div border color is #F06EFA.
.myOpacity80 { color: #F06EFA; opacity: 0.8; }
<p style="color:#F06EFA;opacity:0.8;">80%</p>
Text with #F06EFA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F06EFA;}
<p style="text-shadow: 3px 3px 1px #F06EFA">Text here.</p>
This text has shadow with #F06EFA color.
.textShadow {text-shadow: 3px 3px 1px #F06EFA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F06EFA, 5px 5px 20px red">Text here.</p>
This text has shadow with #F06EFA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F06EFA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F06EFA, Direction=45, Strength=4)">Text</p>
This text has shadow with #F06EFA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F06EFA; -webkit-box-shadow: 1px 1px 3px 2px #F06EFA; box-shadow: 1px 1px 3px 2px #F06EFA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F06EFA; -webkit-box-shadow: 1px 1px 3px 2px #F06EFA; box-shadow:1px 1px 3px 2px #F06EFA;">
Div content here</div>
This text has color #F06EFA on black background.
This text has color #F06EFA on white background.
This text has black color on #F06EFA background.
This text has white color on #F06EFA background.