HEX: #976EDB
RGB: (151,110,219)
#976EDB contains mainly blue color. Web safe color of #976EDB is #9966CC (or #96C).
#976EDB color RGB value is (151,110,219).
RGB: (151,110,219) (59%,43%,86%)
R 151 of 255 = 59%
G 110 of 255 = 43%
B 219 of 255 = 86%
R + G + B ~ 63%. #976EDB is quite light color.
R + G + B =
151 + 110 + 219 = 480 (100%)
R 151 of 480 ~ 31.46%
G 110 of 480 ~ 22.92%
B 219 of 480 ~ 45.63%
#976EDB color CMYK value is (31,50,0,14).
CMYK: (31,50,0,14) C31M50Y0K14 (31%,50%,0%,14%) (0.31/0.50/0.00/0.14)
97 | 6E | DB | |
---|---|---|---|
RGB | 151 | 110 | 219 |
HSL | 263° | 60.22% | 64.51% |
HSB/HSV | 263° | 49.77% | 85.88% |
CMYK | 31.05% | 49.77% | 0.00% |
14.12% |
HEX | 97 | 6E | DB |
Decimal | 151 | 110 | 219 |
Binary | 10010111 | 1101110 | 11011011 |
Octal | 227 | 156 | 333 |
Examples of css and html codes for elements with #976EDB color. Also use rgb(151,110,219) instead hex code.
.myTextColor { color: #976EDB; }
<p style="color:#976EDB">This sample text font color is #976EDB.</p>
This text font color is #976EDB.
.myBgColor { background-color: #976EDB; }
<div style="background-color:#976EDB">Inner text</div>
This div background color is #976EDB.
.myBorderColor { border: 1px solid #976EDB; }
<div style="border:3px solid #976EDB">Div</div>
This div border color is #976EDB.
.myOpacity80 { color: #976EDB; opacity: 0.8; }
<p style="color:#976EDB;opacity:0.8;">80%</p>
Text with #976EDB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976EDB;}
<p style="text-shadow: 3px 3px 1px #976EDB">Text here.</p>
This text has shadow with #976EDB color.
.textShadow {text-shadow: 3px 3px 1px #976EDB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976EDB, 5px 5px 20px red">Text here.</p>
This text has shadow with #976EDB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976EDB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976EDB, Direction=45, Strength=4)">Text</p>
This text has shadow with #976EDB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976EDB; -webkit-box-shadow: 1px 1px 3px 2px #976EDB; box-shadow: 1px 1px 3px 2px #976EDB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976EDB; -webkit-box-shadow: 1px 1px 3px 2px #976EDB; box-shadow:1px 1px 3px 2px #976EDB;">
Div content here</div>
This text has color #976EDB on black background.
This text has color #976EDB on white background.
This text has black color on #976EDB background.
This text has white color on #976EDB background.