HEX: #9A6DED
RGB: (154,109,237)
#9A6DED contains mainly blue color. Web safe color of #9A6DED is #9966FF (or #96F).
#9A6DED color RGB value is (154,109,237).
RGB: (154,109,237) (60%,43%,93%)
R 154 of 255 = 60%
G 109 of 255 = 43%
B 237 of 255 = 93%
R + G + B ~ 65%. #9A6DED is quite light color.
R + G + B =
154 + 109 + 237 = 500 (100%)
R 154 of 500 ~ 30.8%
G 109 of 500 ~ 21.8%
B 237 of 500 ~ 47.4%
#9A6DED color CMYK value is (35,54,0,7).
CMYK: (35,54,0,7) C35M54Y0K7 (35%,54%,0%,7%) (0.35/0.54/0.00/0.07)
9A | 6D | ED | |
---|---|---|---|
RGB | 154 | 109 | 237 |
HSL | 261° | 78.05% | 67.84% |
HSB/HSV | 261° | 54.01% | 92.94% |
CMYK | 35.02% | 54.01% | 0.00% |
7.06% |
HEX | 9A | 6D | ED |
Decimal | 154 | 109 | 237 |
Binary | 10011010 | 1101101 | 11101101 |
Octal | 232 | 155 | 355 |
Examples of css and html codes for elements with #9A6DED color. Also use rgb(154,109,237) instead hex code.
.myTextColor { color: #9A6DED; }
<p style="color:#9A6DED">This sample text font color is #9A6DED.</p>
This text font color is #9A6DED.
.myBgColor { background-color: #9A6DED; }
<div style="background-color:#9A6DED">Inner text</div>
This div background color is #9A6DED.
.myBorderColor { border: 1px solid #9A6DED; }
<div style="border:3px solid #9A6DED">Div</div>
This div border color is #9A6DED.
.myOpacity80 { color: #9A6DED; opacity: 0.8; }
<p style="color:#9A6DED;opacity:0.8;">80%</p>
Text with #9A6DED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9A6DED;}
<p style="text-shadow: 3px 3px 1px #9A6DED">Text here.</p>
This text has shadow with #9A6DED color.
.textShadow {text-shadow: 3px 3px 1px #9A6DED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9A6DED, 5px 5px 20px red">Text here.</p>
This text has shadow with #9A6DED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9A6DED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9A6DED, Direction=45, Strength=4)">Text</p>
This text has shadow with #9A6DED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9A6DED; -webkit-box-shadow: 1px 1px 3px 2px #9A6DED; box-shadow: 1px 1px 3px 2px #9A6DED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9A6DED; -webkit-box-shadow: 1px 1px 3px 2px #9A6DED; box-shadow:1px 1px 3px 2px #9A6DED;">
Div content here</div>
This text has color #9A6DED on black background.
This text has color #9A6DED on white background.
This text has black color on #9A6DED background.
This text has white color on #9A6DED background.