HEX: #AF556C
RGB: (175,85,108)
#AF556C contains mainly red color. Web safe color of #AF556C is #996666 (or #966).
#AF556C color RGB value is (175,85,108).
RGB: (175,85,108) (69%,33%,42%)
R 175 of 255 = 69%
G 85 of 255 = 33%
B 108 of 255 = 42%
R + G + B ~ 48%. #AF556C is middle color (not dark and not light).
R + G + B =
175 + 85 + 108 = 368 (100%)
R 175 of 368 ~ 47.55%
G 85 of 368 ~ 23.1%
B 108 of 368 ~ 29.35%
#AF556C color CMYK value is (0,51,38,31).
CMYK: (0,51,38,31) C0M51Y38K31 (0%,51%,38%,31%) (0.00/0.51/0.38/0.31)
AF | 55 | 6C | |
---|---|---|---|
RGB | 175 | 85 | 108 |
HSL | 345° | 36.00% | 50.98% |
HSB/HSV | 345° | 51.43% | 68.63% |
CMYK | 0.00% | 51.43% | 38.29% |
31.37% |
HEX | AF | 55 | 6C |
Decimal | 175 | 85 | 108 |
Binary | 10101111 | 1010101 | 1101100 |
Octal | 257 | 125 | 154 |
Examples of css and html codes for elements with #AF556C color. Also use rgb(175,85,108) instead hex code.
.myTextColor { color: #AF556C; }
<p style="color:#AF556C">This sample text font color is #AF556C.</p>
This text font color is #AF556C.
.myBgColor { background-color: #AF556C; }
<div style="background-color:#AF556C">Inner text</div>
This div background color is #AF556C.
.myBorderColor { border: 1px solid #AF556C; }
<div style="border:3px solid #AF556C">Div</div>
This div border color is #AF556C.
.myOpacity80 { color: #AF556C; opacity: 0.8; }
<p style="color:#AF556C;opacity:0.8;">80%</p>
Text with #AF556C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF556C;}
<p style="text-shadow: 3px 3px 1px #AF556C">Text here.</p>
This text has shadow with #AF556C color.
.textShadow {text-shadow: 3px 3px 1px #AF556C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF556C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF556C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF556C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF556C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF556C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF556C; -webkit-box-shadow: 1px 1px 3px 2px #AF556C; box-shadow: 1px 1px 3px 2px #AF556C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF556C; -webkit-box-shadow: 1px 1px 3px 2px #AF556C; box-shadow:1px 1px 3px 2px #AF556C;">
Div content here</div>
This text has color #AF556C on black background.
This text has color #AF556C on white background.
This text has black color on #AF556C background.
This text has white color on #AF556C background.