HEX: #AF4F6B
RGB: (175,79,107)
#AF4F6B contains mainly red color. Web safe color of #AF4F6B is #996666 (or #966).
#AF4F6B color RGB value is (175,79,107).
RGB: (175,79,107) (69%,31%,42%)
R 175 of 255 = 69%
G 79 of 255 = 31%
B 107 of 255 = 42%
R + G + B ~ 47%. #AF4F6B is middle color (not dark and not light).
R + G + B =
175 + 79 + 107 = 361 (100%)
R 175 of 361 ~ 48.48%
G 79 of 361 ~ 21.88%
B 107 of 361 ~ 29.64%
#AF4F6B color CMYK value is (0,55,39,31).
CMYK: (0,55,39,31) C0M55Y39K31 (0%,55%,39%,31%) (0.00/0.55/0.39/0.31)
AF | 4F | 6B | |
---|---|---|---|
RGB | 175 | 79 | 107 |
HSL | 343° | 37.80% | 49.80% |
HSB/HSV | 343° | 54.86% | 68.63% |
CMYK | 0.00% | 54.86% | 38.86% |
31.37% |
HEX | AF | 4F | 6B |
Decimal | 175 | 79 | 107 |
Binary | 10101111 | 1001111 | 1101011 |
Octal | 257 | 117 | 153 |
Examples of css and html codes for elements with #AF4F6B color. Also use rgb(175,79,107) instead hex code.
.myTextColor { color: #AF4F6B; }
<p style="color:#AF4F6B">This sample text font color is #AF4F6B.</p>
This text font color is #AF4F6B.
.myBgColor { background-color: #AF4F6B; }
<div style="background-color:#AF4F6B">Inner text</div>
This div background color is #AF4F6B.
.myBorderColor { border: 1px solid #AF4F6B; }
<div style="border:3px solid #AF4F6B">Div</div>
This div border color is #AF4F6B.
.myOpacity80 { color: #AF4F6B; opacity: 0.8; }
<p style="color:#AF4F6B;opacity:0.8;">80%</p>
Text with #AF4F6B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF4F6B;}
<p style="text-shadow: 3px 3px 1px #AF4F6B">Text here.</p>
This text has shadow with #AF4F6B color.
.textShadow {text-shadow: 3px 3px 1px #AF4F6B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF4F6B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF4F6B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF4F6B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF4F6B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF4F6B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF4F6B; -webkit-box-shadow: 1px 1px 3px 2px #AF4F6B; box-shadow: 1px 1px 3px 2px #AF4F6B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF4F6B; -webkit-box-shadow: 1px 1px 3px 2px #AF4F6B; box-shadow:1px 1px 3px 2px #AF4F6B;">
Div content here</div>
This text has color #AF4F6B on black background.
This text has color #AF4F6B on white background.
This text has black color on #AF4F6B background.
This text has white color on #AF4F6B background.