HEX: #AF387E
RGB: (175,56,126)
#AF387E contains mainly red and blue colors. Web safe color of #AF387E is #993366 (or #936).
#AF387E color RGB value is (175,56,126).
RGB: (175,56,126) (69%,22%,49%)
R 175 of 255 = 69%
G 56 of 255 = 22%
B 126 of 255 = 49%
R + G + B ~ 47%. #AF387E is middle color (not dark and not light).
R + G + B =
175 + 56 + 126 = 357 (100%)
R 175 of 357 ~ 49.02%
G 56 of 357 ~ 15.69%
B 126 of 357 ~ 35.29%
#AF387E color CMYK value is (0,68,28,31).
CMYK: (0,68,28,31) C0M68Y28K31 (0%,68%,28%,31%) (0.00/0.68/0.28/0.31)
AF | 38 | 7E | |
---|---|---|---|
RGB | 175 | 56 | 126 |
HSL | 325° | 51.52% | 45.29% |
HSB/HSV | 325° | 68.00% | 68.63% |
CMYK | 0.00% | 68.00% | 28.00% |
31.37% |
HEX | AF | 38 | 7E |
Decimal | 175 | 56 | 126 |
Binary | 10101111 | 111000 | 1111110 |
Octal | 257 | 70 | 176 |
Examples of css and html codes for elements with #AF387E color. Also use rgb(175,56,126) instead hex code.
.myTextColor { color: #AF387E; }
<p style="color:#AF387E">This sample text font color is #AF387E.</p>
This text font color is #AF387E.
.myBgColor { background-color: #AF387E; }
<div style="background-color:#AF387E">Inner text</div>
This div background color is #AF387E.
.myBorderColor { border: 1px solid #AF387E; }
<div style="border:3px solid #AF387E">Div</div>
This div border color is #AF387E.
.myOpacity80 { color: #AF387E; opacity: 0.8; }
<p style="color:#AF387E;opacity:0.8;">80%</p>
Text with #AF387E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF387E;}
<p style="text-shadow: 3px 3px 1px #AF387E">Text here.</p>
This text has shadow with #AF387E color.
.textShadow {text-shadow: 3px 3px 1px #AF387E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF387E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF387E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF387E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF387E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF387E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF387E; -webkit-box-shadow: 1px 1px 3px 2px #AF387E; box-shadow: 1px 1px 3px 2px #AF387E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF387E; -webkit-box-shadow: 1px 1px 3px 2px #AF387E; box-shadow:1px 1px 3px 2px #AF387E;">
Div content here</div>
This text has color #AF387E on black background.
This text has color #AF387E on white background.
This text has black color on #AF387E background.
This text has white color on #AF387E background.