HEX: #AF60B5
RGB: (175,96,181)
#AF60B5 contains mainly red and blue colors. Web safe color of #AF60B5 is #9966CC (or #96C).
#AF60B5 color RGB value is (175,96,181).
RGB: (175,96,181) (69%,38%,71%)
R 175 of 255 = 69%
G 96 of 255 = 38%
B 181 of 255 = 71%
R + G + B ~ 59%. #AF60B5 is middle color (not dark and not light).
R + G + B =
175 + 96 + 181 = 452 (100%)
R 175 of 452 ~ 38.72%
G 96 of 452 ~ 21.24%
B 181 of 452 ~ 40.04%
#AF60B5 color CMYK value is (3,47,0,29).
CMYK: (3,47,0,29) C3M47Y0K29 (3%,47%,0%,29%) (0.03/0.47/0.00/0.29)
AF | 60 | B5 | |
---|---|---|---|
RGB | 175 | 96 | 181 |
HSL | 296° | 36.48% | 54.31% |
HSB/HSV | 296° | 46.96% | 70.98% |
CMYK | 3.31% | 46.96% | 0.00% |
29.02% |
HEX | AF | 60 | B5 |
Decimal | 175 | 96 | 181 |
Binary | 10101111 | 1100000 | 10110101 |
Octal | 257 | 140 | 265 |
Examples of css and html codes for elements with #AF60B5 color. Also use rgb(175,96,181) instead hex code.
.myTextColor { color: #AF60B5; }
<p style="color:#AF60B5">This sample text font color is #AF60B5.</p>
This text font color is #AF60B5.
.myBgColor { background-color: #AF60B5; }
<div style="background-color:#AF60B5">Inner text</div>
This div background color is #AF60B5.
.myBorderColor { border: 1px solid #AF60B5; }
<div style="border:3px solid #AF60B5">Div</div>
This div border color is #AF60B5.
.myOpacity80 { color: #AF60B5; opacity: 0.8; }
<p style="color:#AF60B5;opacity:0.8;">80%</p>
Text with #AF60B5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF60B5;}
<p style="text-shadow: 3px 3px 1px #AF60B5">Text here.</p>
This text has shadow with #AF60B5 color.
.textShadow {text-shadow: 3px 3px 1px #AF60B5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF60B5, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF60B5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF60B5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF60B5, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF60B5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF60B5; -webkit-box-shadow: 1px 1px 3px 2px #AF60B5; box-shadow: 1px 1px 3px 2px #AF60B5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF60B5; -webkit-box-shadow: 1px 1px 3px 2px #AF60B5; box-shadow:1px 1px 3px 2px #AF60B5;">
Div content here</div>
This text has color #AF60B5 on black background.
This text has color #AF60B5 on white background.
This text has black color on #AF60B5 background.
This text has white color on #AF60B5 background.