HEX: #F0258B
RGB: (240,37,139)
#F0258B contains mainly red color. Web safe color of #F0258B is #FF3399 (or #F39).
#F0258B color RGB value is (240,37,139).
RGB: (240,37,139) (94%,15%,55%)
R 240 of 255 = 94%
G 37 of 255 = 15%
B 139 of 255 = 55%
R + G + B ~ 55%. #F0258B is middle color (not dark and not light).
R + G + B =
240 + 37 + 139 = 416 (100%)
R 240 of 416 ~ 57.69%
G 37 of 416 ~ 8.89%
B 139 of 416 ~ 33.41%
#F0258B color CMYK value is (0,85,42,6).
CMYK: (0,85,42,6) C0M85Y42K6 (0%,85%,42%,6%) (0.00/0.85/0.42/0.06)
F0 | 25 | 8B | |
---|---|---|---|
RGB | 240 | 37 | 139 |
HSL | 330° | 87.12% | 54.31% |
HSB/HSV | 330° | 84.58% | 94.12% |
CMYK | 0.00% | 84.58% | 42.08% |
5.88% |
HEX | F0 | 25 | 8B |
Decimal | 240 | 37 | 139 |
Binary | 11110000 | 100101 | 10001011 |
Octal | 360 | 45 | 213 |
Examples of css and html codes for elements with #F0258B color. Also use rgb(240,37,139) instead hex code.
.myTextColor { color: #F0258B; }
<p style="color:#F0258B">This sample text font color is #F0258B.</p>
This text font color is #F0258B.
.myBgColor { background-color: #F0258B; }
<div style="background-color:#F0258B">Inner text</div>
This div background color is #F0258B.
.myBorderColor { border: 1px solid #F0258B; }
<div style="border:3px solid #F0258B">Div</div>
This div border color is #F0258B.
.myOpacity80 { color: #F0258B; opacity: 0.8; }
<p style="color:#F0258B;opacity:0.8;">80%</p>
Text with #F0258B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0258B;}
<p style="text-shadow: 3px 3px 1px #F0258B">Text here.</p>
This text has shadow with #F0258B color.
.textShadow {text-shadow: 3px 3px 1px #F0258B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0258B, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0258B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0258B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0258B, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0258B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0258B; -webkit-box-shadow: 1px 1px 3px 2px #F0258B; box-shadow: 1px 1px 3px 2px #F0258B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0258B; -webkit-box-shadow: 1px 1px 3px 2px #F0258B; box-shadow:1px 1px 3px 2px #F0258B;">
Div content here</div>
This text has color #F0258B on black background.
This text has color #F0258B on white background.
This text has black color on #F0258B background.
This text has white color on #F0258B background.