HEX: #AF468D
RGB: (175,70,141)
#AF468D contains mainly red and blue colors. Web safe color of #AF468D is #993399 (or #939).
#AF468D color RGB value is (175,70,141).
RGB: (175,70,141) (69%,27%,55%)
R 175 of 255 = 69%
G 70 of 255 = 27%
B 141 of 255 = 55%
R + G + B ~ 50%. #AF468D is middle color (not dark and not light).
R + G + B =
175 + 70 + 141 = 386 (100%)
R 175 of 386 ~ 45.34%
G 70 of 386 ~ 18.13%
B 141 of 386 ~ 36.53%
#AF468D color CMYK value is (0,60,19,31).
CMYK: (0,60,19,31) C0M60Y19K31 (0%,60%,19%,31%) (0.00/0.60/0.19/0.31)
AF | 46 | 8D | |
---|---|---|---|
RGB | 175 | 70 | 141 |
HSL | 319° | 42.86% | 48.04% |
HSB/HSV | 319° | 60.00% | 68.63% |
CMYK | 0.00% | 60.00% | 19.43% |
31.37% |
HEX | AF | 46 | 8D |
Decimal | 175 | 70 | 141 |
Binary | 10101111 | 1000110 | 10001101 |
Octal | 257 | 106 | 215 |
Examples of css and html codes for elements with #AF468D color. Also use rgb(175,70,141) instead hex code.
.myTextColor { color: #AF468D; }
<p style="color:#AF468D">This sample text font color is #AF468D.</p>
This text font color is #AF468D.
.myBgColor { background-color: #AF468D; }
<div style="background-color:#AF468D">Inner text</div>
This div background color is #AF468D.
.myBorderColor { border: 1px solid #AF468D; }
<div style="border:3px solid #AF468D">Div</div>
This div border color is #AF468D.
.myOpacity80 { color: #AF468D; opacity: 0.8; }
<p style="color:#AF468D;opacity:0.8;">80%</p>
Text with #AF468D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF468D;}
<p style="text-shadow: 3px 3px 1px #AF468D">Text here.</p>
This text has shadow with #AF468D color.
.textShadow {text-shadow: 3px 3px 1px #AF468D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF468D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF468D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF468D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF468D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF468D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF468D; -webkit-box-shadow: 1px 1px 3px 2px #AF468D; box-shadow: 1px 1px 3px 2px #AF468D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF468D; -webkit-box-shadow: 1px 1px 3px 2px #AF468D; box-shadow:1px 1px 3px 2px #AF468D;">
Div content here</div>
This text has color #AF468D on black background.
This text has color #AF468D on white background.
This text has black color on #AF468D background.
This text has white color on #AF468D background.