HEX: #AF559D
RGB: (175,85,157)
#AF559D contains mainly red and blue colors. Web safe color of #AF559D is #996699 (or #969).
#AF559D color RGB value is (175,85,157).
RGB: (175,85,157) (69%,33%,62%)
R 175 of 255 = 69%
G 85 of 255 = 33%
B 157 of 255 = 62%
R + G + B ~ 55%. #AF559D is middle color (not dark and not light).
R + G + B =
175 + 85 + 157 = 417 (100%)
R 175 of 417 ~ 41.97%
G 85 of 417 ~ 20.38%
B 157 of 417 ~ 37.65%
#AF559D color CMYK value is (0,51,10,31).
CMYK: (0,51,10,31) C0M51Y10K31 (0%,51%,10%,31%) (0.00/0.51/0.10/0.31)
AF | 55 | 9D | |
---|---|---|---|
RGB | 175 | 85 | 157 |
HSL | 312° | 36.00% | 50.98% |
HSB/HSV | 312° | 51.43% | 68.63% |
CMYK | 0.00% | 51.43% | 10.29% |
31.37% |
HEX | AF | 55 | 9D |
Decimal | 175 | 85 | 157 |
Binary | 10101111 | 1010101 | 10011101 |
Octal | 257 | 125 | 235 |
Examples of css and html codes for elements with #AF559D color. Also use rgb(175,85,157) instead hex code.
.myTextColor { color: #AF559D; }
<p style="color:#AF559D">This sample text font color is #AF559D.</p>
This text font color is #AF559D.
.myBgColor { background-color: #AF559D; }
<div style="background-color:#AF559D">Inner text</div>
This div background color is #AF559D.
.myBorderColor { border: 1px solid #AF559D; }
<div style="border:3px solid #AF559D">Div</div>
This div border color is #AF559D.
.myOpacity80 { color: #AF559D; opacity: 0.8; }
<p style="color:#AF559D;opacity:0.8;">80%</p>
Text with #AF559D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF559D;}
<p style="text-shadow: 3px 3px 1px #AF559D">Text here.</p>
This text has shadow with #AF559D color.
.textShadow {text-shadow: 3px 3px 1px #AF559D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF559D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF559D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF559D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF559D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF559D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF559D; -webkit-box-shadow: 1px 1px 3px 2px #AF559D; box-shadow: 1px 1px 3px 2px #AF559D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF559D; -webkit-box-shadow: 1px 1px 3px 2px #AF559D; box-shadow:1px 1px 3px 2px #AF559D;">
Div content here</div>
This text has color #AF559D on black background.
This text has color #AF559D on white background.
This text has black color on #AF559D background.
This text has white color on #AF559D background.