HEX: #AF5ABC
RGB: (175,90,188)
#AF5ABC contains mainly red and blue colors. Web safe color of #AF5ABC is #9966CC (or #96C).
#AF5ABC color RGB value is (175,90,188).
RGB: (175,90,188) (69%,35%,74%)
R 175 of 255 = 69%
G 90 of 255 = 35%
B 188 of 255 = 74%
R + G + B ~ 59%. #AF5ABC is middle color (not dark and not light).
R + G + B =
175 + 90 + 188 = 453 (100%)
R 175 of 453 ~ 38.63%
G 90 of 453 ~ 19.87%
B 188 of 453 ~ 41.5%
#AF5ABC color CMYK value is (7,52,0,26).
CMYK: (7,52,0,26) C7M52Y0K26 (7%,52%,0%,26%) (0.07/0.52/0.00/0.26)
AF | 5A | BC | |
---|---|---|---|
RGB | 175 | 90 | 188 |
HSL | 292° | 42.24% | 54.51% |
HSB/HSV | 292° | 52.13% | 73.73% |
CMYK | 6.91% | 52.13% | 0.00% |
26.27% |
HEX | AF | 5A | BC |
Decimal | 175 | 90 | 188 |
Binary | 10101111 | 1011010 | 10111100 |
Octal | 257 | 132 | 274 |
Examples of css and html codes for elements with #AF5ABC color. Also use rgb(175,90,188) instead hex code.
.myTextColor { color: #AF5ABC; }
<p style="color:#AF5ABC">This sample text font color is #AF5ABC.</p>
This text font color is #AF5ABC.
.myBgColor { background-color: #AF5ABC; }
<div style="background-color:#AF5ABC">Inner text</div>
This div background color is #AF5ABC.
.myBorderColor { border: 1px solid #AF5ABC; }
<div style="border:3px solid #AF5ABC">Div</div>
This div border color is #AF5ABC.
.myOpacity80 { color: #AF5ABC; opacity: 0.8; }
<p style="color:#AF5ABC;opacity:0.8;">80%</p>
Text with #AF5ABC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF5ABC;}
<p style="text-shadow: 3px 3px 1px #AF5ABC">Text here.</p>
This text has shadow with #AF5ABC color.
.textShadow {text-shadow: 3px 3px 1px #AF5ABC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF5ABC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF5ABC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF5ABC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF5ABC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF5ABC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF5ABC; -webkit-box-shadow: 1px 1px 3px 2px #AF5ABC; box-shadow: 1px 1px 3px 2px #AF5ABC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF5ABC; -webkit-box-shadow: 1px 1px 3px 2px #AF5ABC; box-shadow:1px 1px 3px 2px #AF5ABC;">
Div content here</div>
This text has color #AF5ABC on black background.
This text has color #AF5ABC on white background.
This text has black color on #AF5ABC background.
This text has white color on #AF5ABC background.