HEX: #877DC5
RGB: (135,125,197)
#877DC5 contains mainly blue color. Web safe color of #877DC5 is #9966CC (or #96C).
#877DC5 color RGB value is (135,125,197).
RGB: (135,125,197) (53%,49%,77%)
R 135 of 255 = 53%
G 125 of 255 = 49%
B 197 of 255 = 77%
R + G + B ~ 60%. #877DC5 is middle color (not dark and not light).
R + G + B =
135 + 125 + 197 = 457 (100%)
R 135 of 457 ~ 29.54%
G 125 of 457 ~ 27.35%
B 197 of 457 ~ 43.11%
#877DC5 color CMYK value is (31,37,0,23).
CMYK: (31,37,0,23) C31M37Y0K23 (31%,37%,0%,23%) (0.31/0.37/0.00/0.23)
87 | 7D | C5 | |
---|---|---|---|
RGB | 135 | 125 | 197 |
HSL | 248° | 38.30% | 63.14% |
HSB/HSV | 248° | 36.55% | 77.25% |
CMYK | 31.47% | 36.55% | 0.00% |
22.75% |
HEX | 87 | 7D | C5 |
Decimal | 135 | 125 | 197 |
Binary | 10000111 | 1111101 | 11000101 |
Octal | 207 | 175 | 305 |
Examples of css and html codes for elements with #877DC5 color. Also use rgb(135,125,197) instead hex code.
.myTextColor { color: #877DC5; }
<p style="color:#877DC5">This sample text font color is #877DC5.</p>
This text font color is #877DC5.
.myBgColor { background-color: #877DC5; }
<div style="background-color:#877DC5">Inner text</div>
This div background color is #877DC5.
.myBorderColor { border: 1px solid #877DC5; }
<div style="border:3px solid #877DC5">Div</div>
This div border color is #877DC5.
.myOpacity80 { color: #877DC5; opacity: 0.8; }
<p style="color:#877DC5;opacity:0.8;">80%</p>
Text with #877DC5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #877DC5;}
<p style="text-shadow: 3px 3px 1px #877DC5">Text here.</p>
This text has shadow with #877DC5 color.
.textShadow {text-shadow: 3px 3px 1px #877DC5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #877DC5, 5px 5px 20px red">Text here.</p>
This text has shadow with #877DC5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#877DC5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#877DC5, Direction=45, Strength=4)">Text</p>
This text has shadow with #877DC5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #877DC5; -webkit-box-shadow: 1px 1px 3px 2px #877DC5; box-shadow: 1px 1px 3px 2px #877DC5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #877DC5; -webkit-box-shadow: 1px 1px 3px 2px #877DC5; box-shadow:1px 1px 3px 2px #877DC5;">
Div content here</div>
This text has color #877DC5 on black background.
This text has color #877DC5 on white background.
This text has black color on #877DC5 background.
This text has white color on #877DC5 background.