HEX: #AF7ECB
RGB: (175,126,203)
#AF7ECB contains mainly red and blue colors. Web safe color of #AF7ECB is #9966CC (or #96C).
#AF7ECB color RGB value is (175,126,203).
RGB: (175,126,203) (69%,49%,80%)
R 175 of 255 = 69%
G 126 of 255 = 49%
B 203 of 255 = 80%
R + G + B ~ 66%. #AF7ECB is quite light color.
R + G + B =
175 + 126 + 203 = 504 (100%)
R 175 of 504 ~ 34.72%
G 126 of 504 ~ 25%
B 203 of 504 ~ 40.28%
#AF7ECB color CMYK value is (14,38,0,20).
CMYK: (14,38,0,20) C14M38Y0K20 (14%,38%,0%,20%) (0.14/0.38/0.00/0.20)
AF | 7E | CB | |
---|---|---|---|
RGB | 175 | 126 | 203 |
HSL | 278° | 42.54% | 64.51% |
HSB/HSV | 278° | 37.93% | 79.61% |
CMYK | 13.79% | 37.93% | 0.00% |
20.39% |
HEX | AF | 7E | CB |
Decimal | 175 | 126 | 203 |
Binary | 10101111 | 1111110 | 11001011 |
Octal | 257 | 176 | 313 |
Examples of css and html codes for elements with #AF7ECB color. Also use rgb(175,126,203) instead hex code.
.myTextColor { color: #AF7ECB; }
<p style="color:#AF7ECB">This sample text font color is #AF7ECB.</p>
This text font color is #AF7ECB.
.myBgColor { background-color: #AF7ECB; }
<div style="background-color:#AF7ECB">Inner text</div>
This div background color is #AF7ECB.
.myBorderColor { border: 1px solid #AF7ECB; }
<div style="border:3px solid #AF7ECB">Div</div>
This div border color is #AF7ECB.
.myOpacity80 { color: #AF7ECB; opacity: 0.8; }
<p style="color:#AF7ECB;opacity:0.8;">80%</p>
Text with #AF7ECB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF7ECB;}
<p style="text-shadow: 3px 3px 1px #AF7ECB">Text here.</p>
This text has shadow with #AF7ECB color.
.textShadow {text-shadow: 3px 3px 1px #AF7ECB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF7ECB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF7ECB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF7ECB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF7ECB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF7ECB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF7ECB; -webkit-box-shadow: 1px 1px 3px 2px #AF7ECB; box-shadow: 1px 1px 3px 2px #AF7ECB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF7ECB; -webkit-box-shadow: 1px 1px 3px 2px #AF7ECB; box-shadow:1px 1px 3px 2px #AF7ECB;">
Div content here</div>
This text has color #AF7ECB on black background.
This text has color #AF7ECB on white background.
This text has black color on #AF7ECB background.
This text has white color on #AF7ECB background.