HEX: #F0A5E2
RGB: (240,165,226)
#F0A5E2 contains mainly red and blue colors. Web safe color of #F0A5E2 is #FF99CC (or #F9C).
#F0A5E2 color RGB value is (240,165,226).
RGB: (240,165,226) (94%,65%,89%)
R 240 of 255 = 94%
G 165 of 255 = 65%
B 226 of 255 = 89%
R + G + B ~ 83%. #F0A5E2 is quite light color.
R + G + B =
240 + 165 + 226 = 631 (100%)
R 240 of 631 ~ 38.03%
G 165 of 631 ~ 26.15%
B 226 of 631 ~ 35.82%
#F0A5E2 color CMYK value is (0,31,6,6).
CMYK: (0,31,6,6) C0M31Y6K6 (0%,31%,6%,6%) (0.00/0.31/0.06/0.06)
F0 | A5 | E2 | |
---|---|---|---|
RGB | 240 | 165 | 226 |
HSL | 311° | 71.43% | 79.41% |
HSB/HSV | 311° | 31.25% | 94.12% |
CMYK | 0.00% | 31.25% | 5.83% |
5.88% |
HEX | F0 | A5 | E2 |
Decimal | 240 | 165 | 226 |
Binary | 11110000 | 10100101 | 11100010 |
Octal | 360 | 245 | 342 |
Examples of css and html codes for elements with #F0A5E2 color. Also use rgb(240,165,226) instead hex code.
.myTextColor { color: #F0A5E2; }
<p style="color:#F0A5E2">This sample text font color is #F0A5E2.</p>
This text font color is #F0A5E2.
.myBgColor { background-color: #F0A5E2; }
<div style="background-color:#F0A5E2">Inner text</div>
This div background color is #F0A5E2.
.myBorderColor { border: 1px solid #F0A5E2; }
<div style="border:3px solid #F0A5E2">Div</div>
This div border color is #F0A5E2.
.myOpacity80 { color: #F0A5E2; opacity: 0.8; }
<p style="color:#F0A5E2;opacity:0.8;">80%</p>
Text with #F0A5E2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0A5E2;}
<p style="text-shadow: 3px 3px 1px #F0A5E2">Text here.</p>
This text has shadow with #F0A5E2 color.
.textShadow {text-shadow: 3px 3px 1px #F0A5E2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0A5E2, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0A5E2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0A5E2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0A5E2, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0A5E2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0A5E2; -webkit-box-shadow: 1px 1px 3px 2px #F0A5E2; box-shadow: 1px 1px 3px 2px #F0A5E2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0A5E2; -webkit-box-shadow: 1px 1px 3px 2px #F0A5E2; box-shadow:1px 1px 3px 2px #F0A5E2;">
Div content here</div>
This text has color #F0A5E2 on black background.
This text has color #F0A5E2 on white background.
This text has black color on #F0A5E2 background.
This text has white color on #F0A5E2 background.