HEX: #AFB2E1
RGB: (175,178,225)
#AFB2E1 contains red, green and blue colors in about the same proportion. Web safe color of #AFB2E1 is #9999CC (or #99C).
#AFB2E1 color RGB value is (175,178,225).
RGB: (175,178,225) (69%,70%,88%)
R 175 of 255 = 69%
G 178 of 255 = 70%
B 225 of 255 = 88%
R + G + B ~ 76%. #AFB2E1 is quite light color.
R + G + B =
175 + 178 + 225 = 578 (100%)
R 175 of 578 ~ 30.28%
G 178 of 578 ~ 30.8%
B 225 of 578 ~ 38.93%
#AFB2E1 color CMYK value is (22,21,0,12).
CMYK: (22,21,0,12) C22M21Y0K12 (22%,21%,0%,12%) (0.22/0.21/0.00/0.12)
AF | B2 | E1 | |
---|---|---|---|
RGB | 175 | 178 | 225 |
HSL | 236° | 45.45% | 78.43% |
HSB/HSV | 236° | 22.22% | 88.24% |
CMYK | 22.22% | 20.89% | 0.00% |
11.76% |
HEX | AF | B2 | E1 |
Decimal | 175 | 178 | 225 |
Binary | 10101111 | 10110010 | 11100001 |
Octal | 257 | 262 | 341 |
Examples of css and html codes for elements with #AFB2E1 color. Also use rgb(175,178,225) instead hex code.
.myTextColor { color: #AFB2E1; }
<p style="color:#AFB2E1">This sample text font color is #AFB2E1.</p>
This text font color is #AFB2E1.
.myBgColor { background-color: #AFB2E1; }
<div style="background-color:#AFB2E1">Inner text</div>
This div background color is #AFB2E1.
.myBorderColor { border: 1px solid #AFB2E1; }
<div style="border:3px solid #AFB2E1">Div</div>
This div border color is #AFB2E1.
.myOpacity80 { color: #AFB2E1; opacity: 0.8; }
<p style="color:#AFB2E1;opacity:0.8;">80%</p>
Text with #AFB2E1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFB2E1;}
<p style="text-shadow: 3px 3px 1px #AFB2E1">Text here.</p>
This text has shadow with #AFB2E1 color.
.textShadow {text-shadow: 3px 3px 1px #AFB2E1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFB2E1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFB2E1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFB2E1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFB2E1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFB2E1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFB2E1; -webkit-box-shadow: 1px 1px 3px 2px #AFB2E1; box-shadow: 1px 1px 3px 2px #AFB2E1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFB2E1; -webkit-box-shadow: 1px 1px 3px 2px #AFB2E1; box-shadow:1px 1px 3px 2px #AFB2E1;">
Div content here</div>
This text has color #AFB2E1 on black background.
This text has color #AFB2E1 on white background.
This text has black color on #AFB2E1 background.
This text has white color on #AFB2E1 background.