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