HEX: #A874ED
RGB: (168,116,237)
#A874ED contains mainly blue color. Web safe color of #A874ED is #9966FF (or #96F).
#A874ED color RGB value is (168,116,237).
RGB: (168,116,237) (66%,45%,93%)
R 168 of 255 = 66%
G 116 of 255 = 45%
B 237 of 255 = 93%
R + G + B ~ 68%. #A874ED is quite light color.
R + G + B =
168 + 116 + 237 = 521 (100%)
R 168 of 521 ~ 32.25%
G 116 of 521 ~ 22.26%
B 237 of 521 ~ 45.49%
#A874ED color CMYK value is (29,51,0,7).
CMYK: (29,51,0,7) C29M51Y0K7 (29%,51%,0%,7%) (0.29/0.51/0.00/0.07)
A8 | 74 | ED | |
---|---|---|---|
RGB | 168 | 116 | 237 |
HSL | 266° | 77.07% | 69.22% |
HSB/HSV | 266° | 51.05% | 92.94% |
CMYK | 29.11% | 51.05% | 0.00% |
7.06% |
HEX | A8 | 74 | ED |
Decimal | 168 | 116 | 237 |
Binary | 10101000 | 1110100 | 11101101 |
Octal | 250 | 164 | 355 |
Examples of css and html codes for elements with #A874ED color. Also use rgb(168,116,237) instead hex code.
.myTextColor { color: #A874ED; }
<p style="color:#A874ED">This sample text font color is #A874ED.</p>
This text font color is #A874ED.
.myBgColor { background-color: #A874ED; }
<div style="background-color:#A874ED">Inner text</div>
This div background color is #A874ED.
.myBorderColor { border: 1px solid #A874ED; }
<div style="border:3px solid #A874ED">Div</div>
This div border color is #A874ED.
.myOpacity80 { color: #A874ED; opacity: 0.8; }
<p style="color:#A874ED;opacity:0.8;">80%</p>
Text with #A874ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A874ED;}
<p style="text-shadow: 3px 3px 1px #A874ED">Text here.</p>
This text has shadow with #A874ED color.
.textShadow {text-shadow: 3px 3px 1px #A874ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A874ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #A874ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A874ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A874ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #A874ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A874ED; -webkit-box-shadow: 1px 1px 3px 2px #A874ED; box-shadow: 1px 1px 3px 2px #A874ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A874ED; -webkit-box-shadow: 1px 1px 3px 2px #A874ED; box-shadow:1px 1px 3px 2px #A874ED;">
Div content here</div>
This text has color #A874ED on black background.
This text has color #A874ED on white background.
This text has black color on #A874ED background.
This text has white color on #A874ED background.