HEX: #9E9ACC
RGB: (158,154,204)
#9E9ACC contains red, green and blue colors in about the same proportion. Web safe color of #9E9ACC is #9999CC (or #99C).
#9E9ACC color RGB value is (158,154,204).
RGB: (158,154,204) (62%,60%,80%)
R 158 of 255 = 62%
G 154 of 255 = 60%
B 204 of 255 = 80%
R + G + B ~ 67%. #9E9ACC is quite light color.
R + G + B =
158 + 154 + 204 = 516 (100%)
R 158 of 516 ~ 30.62%
G 154 of 516 ~ 29.84%
B 204 of 516 ~ 39.53%
#9E9ACC color CMYK value is (23,25,0,20).
CMYK: (23,25,0,20) C23M25Y0K20 (23%,25%,0%,20%) (0.23/0.25/0.00/0.20)
9E | 9A | CC | |
---|---|---|---|
RGB | 158 | 154 | 204 |
HSL | 245° | 32.89% | 70.20% |
HSB/HSV | 245° | 24.51% | 80.00% |
CMYK | 22.55% | 24.51% | 0.00% |
20.00% |
HEX | 9E | 9A | CC |
Decimal | 158 | 154 | 204 |
Binary | 10011110 | 10011010 | 11001100 |
Octal | 236 | 232 | 314 |
Examples of css and html codes for elements with #9E9ACC color. Also use rgb(158,154,204) instead hex code.
.myTextColor { color: #9E9ACC; }
<p style="color:#9E9ACC">This sample text font color is #9E9ACC.</p>
This text font color is #9E9ACC.
.myBgColor { background-color: #9E9ACC; }
<div style="background-color:#9E9ACC">Inner text</div>
This div background color is #9E9ACC.
.myBorderColor { border: 1px solid #9E9ACC; }
<div style="border:3px solid #9E9ACC">Div</div>
This div border color is #9E9ACC.
.myOpacity80 { color: #9E9ACC; opacity: 0.8; }
<p style="color:#9E9ACC;opacity:0.8;">80%</p>
Text with #9E9ACC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E9ACC;}
<p style="text-shadow: 3px 3px 1px #9E9ACC">Text here.</p>
This text has shadow with #9E9ACC color.
.textShadow {text-shadow: 3px 3px 1px #9E9ACC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E9ACC, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E9ACC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E9ACC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E9ACC, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E9ACC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E9ACC; -webkit-box-shadow: 1px 1px 3px 2px #9E9ACC; box-shadow: 1px 1px 3px 2px #9E9ACC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E9ACC; -webkit-box-shadow: 1px 1px 3px 2px #9E9ACC; box-shadow:1px 1px 3px 2px #9E9ACC;">
Div content here</div>
This text has color #9E9ACC on black background.
This text has color #9E9ACC on white background.
This text has black color on #9E9ACC background.
This text has white color on #9E9ACC background.