HEX: #B587D8
RGB: (181,135,216)
#B587D8 contains mainly red and blue colors. Web safe color of #B587D8 is #CC99CC (or #C9C).
#B587D8 color RGB value is (181,135,216).
RGB: (181,135,216) (71%,53%,85%)
R 181 of 255 = 71%
G 135 of 255 = 53%
B 216 of 255 = 85%
R + G + B ~ 70%. #B587D8 is quite light color.
R + G + B =
181 + 135 + 216 = 532 (100%)
R 181 of 532 ~ 34.02%
G 135 of 532 ~ 25.38%
B 216 of 532 ~ 40.6%
#B587D8 color CMYK value is (16,38,0,15).
CMYK: (16,38,0,15) C16M38Y0K15 (16%,38%,0%,15%) (0.16/0.38/0.00/0.15)
B5 | 87 | D8 | |
---|---|---|---|
RGB | 181 | 135 | 216 |
HSL | 274° | 50.94% | 68.82% |
HSB/HSV | 274° | 37.50% | 84.71% |
CMYK | 16.20% | 37.50% | 0.00% |
15.29% |
HEX | B5 | 87 | D8 |
Decimal | 181 | 135 | 216 |
Binary | 10110101 | 10000111 | 11011000 |
Octal | 265 | 207 | 330 |
Examples of css and html codes for elements with #B587D8 color. Also use rgb(181,135,216) instead hex code.
.myTextColor { color: #B587D8; }
<p style="color:#B587D8">This sample text font color is #B587D8.</p>
This text font color is #B587D8.
.myBgColor { background-color: #B587D8; }
<div style="background-color:#B587D8">Inner text</div>
This div background color is #B587D8.
.myBorderColor { border: 1px solid #B587D8; }
<div style="border:3px solid #B587D8">Div</div>
This div border color is #B587D8.
.myOpacity80 { color: #B587D8; opacity: 0.8; }
<p style="color:#B587D8;opacity:0.8;">80%</p>
Text with #B587D8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B587D8;}
<p style="text-shadow: 3px 3px 1px #B587D8">Text here.</p>
This text has shadow with #B587D8 color.
.textShadow {text-shadow: 3px 3px 1px #B587D8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B587D8, 5px 5px 20px red">Text here.</p>
This text has shadow with #B587D8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B587D8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B587D8, Direction=45, Strength=4)">Text</p>
This text has shadow with #B587D8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B587D8; -webkit-box-shadow: 1px 1px 3px 2px #B587D8; box-shadow: 1px 1px 3px 2px #B587D8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B587D8; -webkit-box-shadow: 1px 1px 3px 2px #B587D8; box-shadow:1px 1px 3px 2px #B587D8;">
Div content here</div>
This text has color #B587D8 on black background.
This text has color #B587D8 on white background.
This text has black color on #B587D8 background.
This text has white color on #B587D8 background.