HEX: #957AEA
RGB: (149,122,234)
#957AEA contains mainly blue color. Web safe color of #957AEA is #9966FF (or #96F).
#957AEA color RGB value is (149,122,234).
RGB: (149,122,234) (58%,48%,92%)
R 149 of 255 = 58%
G 122 of 255 = 48%
B 234 of 255 = 92%
R + G + B ~ 66%. #957AEA is quite light color.
R + G + B =
149 + 122 + 234 = 505 (100%)
R 149 of 505 ~ 29.5%
G 122 of 505 ~ 24.16%
B 234 of 505 ~ 46.34%
#957AEA color CMYK value is (36,48,0,8).
CMYK: (36,48,0,8) C36M48Y0K8 (36%,48%,0%,8%) (0.36/0.48/0.00/0.08)
95 | 7A | EA | |
---|---|---|---|
RGB | 149 | 122 | 234 |
HSL | 254° | 72.73% | 69.80% |
HSB/HSV | 254° | 47.86% | 91.76% |
CMYK | 36.32% | 47.86% | 0.00% |
8.24% |
HEX | 95 | 7A | EA |
Decimal | 149 | 122 | 234 |
Binary | 10010101 | 1111010 | 11101010 |
Octal | 225 | 172 | 352 |
Examples of css and html codes for elements with #957AEA color. Also use rgb(149,122,234) instead hex code.
.myTextColor { color: #957AEA; }
<p style="color:#957AEA">This sample text font color is #957AEA.</p>
This text font color is #957AEA.
.myBgColor { background-color: #957AEA; }
<div style="background-color:#957AEA">Inner text</div>
This div background color is #957AEA.
.myBorderColor { border: 1px solid #957AEA; }
<div style="border:3px solid #957AEA">Div</div>
This div border color is #957AEA.
.myOpacity80 { color: #957AEA; opacity: 0.8; }
<p style="color:#957AEA;opacity:0.8;">80%</p>
Text with #957AEA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #957AEA;}
<p style="text-shadow: 3px 3px 1px #957AEA">Text here.</p>
This text has shadow with #957AEA color.
.textShadow {text-shadow: 3px 3px 1px #957AEA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #957AEA, 5px 5px 20px red">Text here.</p>
This text has shadow with #957AEA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#957AEA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#957AEA, Direction=45, Strength=4)">Text</p>
This text has shadow with #957AEA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #957AEA; -webkit-box-shadow: 1px 1px 3px 2px #957AEA; box-shadow: 1px 1px 3px 2px #957AEA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #957AEA; -webkit-box-shadow: 1px 1px 3px 2px #957AEA; box-shadow:1px 1px 3px 2px #957AEA;">
Div content here</div>
This text has color #957AEA on black background.
This text has color #957AEA on white background.
This text has black color on #957AEA background.
This text has white color on #957AEA background.