HEX: #AF4C7B
RGB: (175,76,123)
#AF4C7B contains mainly red and blue colors. Web safe color of #AF4C7B is #993366 (or #936).
#AF4C7B color RGB value is (175,76,123).
RGB: (175,76,123) (69%,30%,48%)
R 175 of 255 = 69%
G 76 of 255 = 30%
B 123 of 255 = 48%
R + G + B ~ 49%. #AF4C7B is middle color (not dark and not light).
R + G + B =
175 + 76 + 123 = 374 (100%)
R 175 of 374 ~ 46.79%
G 76 of 374 ~ 20.32%
B 123 of 374 ~ 32.89%
#AF4C7B color CMYK value is (0,57,30,31).
CMYK: (0,57,30,31) C0M57Y30K31 (0%,57%,30%,31%) (0.00/0.57/0.30/0.31)
AF | 4C | 7B | |
---|---|---|---|
RGB | 175 | 76 | 123 |
HSL | 332° | 39.44% | 49.22% |
HSB/HSV | 332° | 56.57% | 68.63% |
CMYK | 0.00% | 56.57% | 29.71% |
31.37% |
HEX | AF | 4C | 7B |
Decimal | 175 | 76 | 123 |
Binary | 10101111 | 1001100 | 1111011 |
Octal | 257 | 114 | 173 |
Examples of css and html codes for elements with #AF4C7B color. Also use rgb(175,76,123) instead hex code.
.myTextColor { color: #AF4C7B; }
<p style="color:#AF4C7B">This sample text font color is #AF4C7B.</p>
This text font color is #AF4C7B.
.myBgColor { background-color: #AF4C7B; }
<div style="background-color:#AF4C7B">Inner text</div>
This div background color is #AF4C7B.
.myBorderColor { border: 1px solid #AF4C7B; }
<div style="border:3px solid #AF4C7B">Div</div>
This div border color is #AF4C7B.
.myOpacity80 { color: #AF4C7B; opacity: 0.8; }
<p style="color:#AF4C7B;opacity:0.8;">80%</p>
Text with #AF4C7B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF4C7B;}
<p style="text-shadow: 3px 3px 1px #AF4C7B">Text here.</p>
This text has shadow with #AF4C7B color.
.textShadow {text-shadow: 3px 3px 1px #AF4C7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF4C7B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF4C7B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF4C7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF4C7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF4C7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF4C7B; -webkit-box-shadow: 1px 1px 3px 2px #AF4C7B; box-shadow: 1px 1px 3px 2px #AF4C7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF4C7B; -webkit-box-shadow: 1px 1px 3px 2px #AF4C7B; box-shadow:1px 1px 3px 2px #AF4C7B;">
Div content here</div>
This text has color #AF4C7B on black background.
This text has color #AF4C7B on white background.
This text has black color on #AF4C7B background.
This text has white color on #AF4C7B background.