HEX: #AF9BCC
RGB: (175,155,204)
#AF9BCC contains red, green and blue colors in about the same proportion. Web safe color of #AF9BCC is #9999CC (or #99C).
#AF9BCC color RGB value is (175,155,204).
RGB: (175,155,204) (69%,61%,80%)
R 175 of 255 = 69%
G 155 of 255 = 61%
B 204 of 255 = 80%
R + G + B ~ 70%. #AF9BCC is quite light color.
R + G + B =
175 + 155 + 204 = 534 (100%)
R 175 of 534 ~ 32.77%
G 155 of 534 ~ 29.03%
B 204 of 534 ~ 38.2%
#AF9BCC color CMYK value is (14,24,0,20).
CMYK: (14,24,0,20) C14M24Y0K20 (14%,24%,0%,20%) (0.14/0.24/0.00/0.20)
AF | 9B | CC | |
---|---|---|---|
RGB | 175 | 155 | 204 |
HSL | 264° | 32.45% | 70.39% |
HSB/HSV | 264° | 24.02% | 80.00% |
CMYK | 14.22% | 24.02% | 0.00% |
20.00% |
HEX | AF | 9B | CC |
Decimal | 175 | 155 | 204 |
Binary | 10101111 | 10011011 | 11001100 |
Octal | 257 | 233 | 314 |
Examples of css and html codes for elements with #AF9BCC color. Also use rgb(175,155,204) instead hex code.
.myTextColor { color: #AF9BCC; }
<p style="color:#AF9BCC">This sample text font color is #AF9BCC.</p>
This text font color is #AF9BCC.
.myBgColor { background-color: #AF9BCC; }
<div style="background-color:#AF9BCC">Inner text</div>
This div background color is #AF9BCC.
.myBorderColor { border: 1px solid #AF9BCC; }
<div style="border:3px solid #AF9BCC">Div</div>
This div border color is #AF9BCC.
.myOpacity80 { color: #AF9BCC; opacity: 0.8; }
<p style="color:#AF9BCC;opacity:0.8;">80%</p>
Text with #AF9BCC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF9BCC;}
<p style="text-shadow: 3px 3px 1px #AF9BCC">Text here.</p>
This text has shadow with #AF9BCC color.
.textShadow {text-shadow: 3px 3px 1px #AF9BCC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF9BCC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF9BCC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF9BCC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF9BCC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF9BCC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF9BCC; -webkit-box-shadow: 1px 1px 3px 2px #AF9BCC; box-shadow: 1px 1px 3px 2px #AF9BCC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF9BCC; -webkit-box-shadow: 1px 1px 3px 2px #AF9BCC; box-shadow:1px 1px 3px 2px #AF9BCC;">
Div content here</div>
This text has color #AF9BCC on black background.
This text has color #AF9BCC on white background.
This text has black color on #AF9BCC background.
This text has white color on #AF9BCC background.