HEX: #AFB6DC
RGB: (175,182,220)
#AFB6DC contains red, green and blue colors in about the same proportion. Web safe color of #AFB6DC is #99CCCC (or #9CC).
#AFB6DC color RGB value is (175,182,220).
RGB: (175,182,220) (69%,71%,86%)
R 175 of 255 = 69%
G 182 of 255 = 71%
B 220 of 255 = 86%
R + G + B ~ 75%. #AFB6DC is quite light color.
R + G + B =
175 + 182 + 220 = 577 (100%)
R 175 of 577 ~ 30.33%
G 182 of 577 ~ 31.54%
B 220 of 577 ~ 38.13%
#AFB6DC color CMYK value is (20,17,0,14).
CMYK: (20,17,0,14) C20M17Y0K14 (20%,17%,0%,14%) (0.20/0.17/0.00/0.14)
AF | B6 | DC | |
---|---|---|---|
RGB | 175 | 182 | 220 |
HSL | 231° | 39.13% | 77.45% |
HSB/HSV | 231° | 20.45% | 86.27% |
CMYK | 20.45% | 17.27% | 0.00% |
13.73% |
HEX | AF | B6 | DC |
Decimal | 175 | 182 | 220 |
Binary | 10101111 | 10110110 | 11011100 |
Octal | 257 | 266 | 334 |
Examples of css and html codes for elements with #AFB6DC color. Also use rgb(175,182,220) instead hex code.
.myTextColor { color: #AFB6DC; }
<p style="color:#AFB6DC">This sample text font color is #AFB6DC.</p>
This text font color is #AFB6DC.
.myBgColor { background-color: #AFB6DC; }
<div style="background-color:#AFB6DC">Inner text</div>
This div background color is #AFB6DC.
.myBorderColor { border: 1px solid #AFB6DC; }
<div style="border:3px solid #AFB6DC">Div</div>
This div border color is #AFB6DC.
.myOpacity80 { color: #AFB6DC; opacity: 0.8; }
<p style="color:#AFB6DC;opacity:0.8;">80%</p>
Text with #AFB6DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFB6DC;}
<p style="text-shadow: 3px 3px 1px #AFB6DC">Text here.</p>
This text has shadow with #AFB6DC color.
.textShadow {text-shadow: 3px 3px 1px #AFB6DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFB6DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFB6DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFB6DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFB6DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFB6DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFB6DC; -webkit-box-shadow: 1px 1px 3px 2px #AFB6DC; box-shadow: 1px 1px 3px 2px #AFB6DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFB6DC; -webkit-box-shadow: 1px 1px 3px 2px #AFB6DC; box-shadow:1px 1px 3px 2px #AFB6DC;">
Div content here</div>
This text has color #AFB6DC on black background.
This text has color #AFB6DC on white background.
This text has black color on #AFB6DC background.
This text has white color on #AFB6DC background.