HEX: #AF78AD
RGB: (175,120,173)
#AF78AD contains red, green and blue colors in about the same proportion. Web safe color of #AF78AD is #996699 (or #969).
#AF78AD color RGB value is (175,120,173).
RGB: (175,120,173) (69%,47%,68%)
R 175 of 255 = 69%
G 120 of 255 = 47%
B 173 of 255 = 68%
R + G + B ~ 61%. #AF78AD is quite light color.
R + G + B =
175 + 120 + 173 = 468 (100%)
R 175 of 468 ~ 37.39%
G 120 of 468 ~ 25.64%
B 173 of 468 ~ 36.97%
#AF78AD color CMYK value is (0,31,1,31).
CMYK: (0,31,1,31) C0M31Y1K31 (0%,31%,1%,31%) (0.00/0.31/0.01/0.31)
AF | 78 | AD | |
---|---|---|---|
RGB | 175 | 120 | 173 |
HSL | 302° | 25.58% | 57.84% |
HSB/HSV | 302° | 31.43% | 68.63% |
CMYK | 0.00% | 31.43% | 1.14% |
31.37% |
HEX | AF | 78 | AD |
Decimal | 175 | 120 | 173 |
Binary | 10101111 | 1111000 | 10101101 |
Octal | 257 | 170 | 255 |
Examples of css and html codes for elements with #AF78AD color. Also use rgb(175,120,173) instead hex code.
.myTextColor { color: #AF78AD; }
<p style="color:#AF78AD">This sample text font color is #AF78AD.</p>
This text font color is #AF78AD.
.myBgColor { background-color: #AF78AD; }
<div style="background-color:#AF78AD">Inner text</div>
This div background color is #AF78AD.
.myBorderColor { border: 1px solid #AF78AD; }
<div style="border:3px solid #AF78AD">Div</div>
This div border color is #AF78AD.
.myOpacity80 { color: #AF78AD; opacity: 0.8; }
<p style="color:#AF78AD;opacity:0.8;">80%</p>
Text with #AF78AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF78AD;}
<p style="text-shadow: 3px 3px 1px #AF78AD">Text here.</p>
This text has shadow with #AF78AD color.
.textShadow {text-shadow: 3px 3px 1px #AF78AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF78AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF78AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF78AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF78AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF78AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF78AD; -webkit-box-shadow: 1px 1px 3px 2px #AF78AD; box-shadow: 1px 1px 3px 2px #AF78AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF78AD; -webkit-box-shadow: 1px 1px 3px 2px #AF78AD; box-shadow:1px 1px 3px 2px #AF78AD;">
Div content here</div>
This text has color #AF78AD on black background.
This text has color #AF78AD on white background.
This text has black color on #AF78AD background.
This text has white color on #AF78AD background.