HEX: #977DCB
RGB: (151,125,203)
#977DCB contains mainly red and blue colors. Web safe color of #977DCB is #9966CC (or #96C).
#977DCB color RGB value is (151,125,203).
RGB: (151,125,203) (59%,49%,80%)
R 151 of 255 = 59%
G 125 of 255 = 49%
B 203 of 255 = 80%
R + G + B ~ 63%. #977DCB is quite light color.
R + G + B =
151 + 125 + 203 = 479 (100%)
R 151 of 479 ~ 31.52%
G 125 of 479 ~ 26.1%
B 203 of 479 ~ 42.38%
#977DCB color CMYK value is (26,38,0,20).
CMYK: (26,38,0,20) C26M38Y0K20 (26%,38%,0%,20%) (0.26/0.38/0.00/0.20)
97 | 7D | CB | |
---|---|---|---|
RGB | 151 | 125 | 203 |
HSL | 260° | 42.86% | 64.31% |
HSB/HSV | 260° | 38.42% | 79.61% |
CMYK | 25.62% | 38.42% | 0.00% |
20.39% |
HEX | 97 | 7D | CB |
Decimal | 151 | 125 | 203 |
Binary | 10010111 | 1111101 | 11001011 |
Octal | 227 | 175 | 313 |
Examples of css and html codes for elements with #977DCB color. Also use rgb(151,125,203) instead hex code.
.myTextColor { color: #977DCB; }
<p style="color:#977DCB">This sample text font color is #977DCB.</p>
This text font color is #977DCB.
.myBgColor { background-color: #977DCB; }
<div style="background-color:#977DCB">Inner text</div>
This div background color is #977DCB.
.myBorderColor { border: 1px solid #977DCB; }
<div style="border:3px solid #977DCB">Div</div>
This div border color is #977DCB.
.myOpacity80 { color: #977DCB; opacity: 0.8; }
<p style="color:#977DCB;opacity:0.8;">80%</p>
Text with #977DCB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977DCB;}
<p style="text-shadow: 3px 3px 1px #977DCB">Text here.</p>
This text has shadow with #977DCB color.
.textShadow {text-shadow: 3px 3px 1px #977DCB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977DCB, 5px 5px 20px red">Text here.</p>
This text has shadow with #977DCB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977DCB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977DCB, Direction=45, Strength=4)">Text</p>
This text has shadow with #977DCB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977DCB; -webkit-box-shadow: 1px 1px 3px 2px #977DCB; box-shadow: 1px 1px 3px 2px #977DCB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977DCB; -webkit-box-shadow: 1px 1px 3px 2px #977DCB; box-shadow:1px 1px 3px 2px #977DCB;">
Div content here</div>
This text has color #977DCB on black background.
This text has color #977DCB on white background.
This text has black color on #977DCB background.
This text has white color on #977DCB background.