HEX: #B187DE
RGB: (177,135,222)
#B187DE contains mainly red and blue colors. Web safe color of #B187DE is #9999CC (or #99C).
#B187DE color RGB value is (177,135,222).
RGB: (177,135,222) (69%,53%,87%)
R 177 of 255 = 69%
G 135 of 255 = 53%
B 222 of 255 = 87%
R + G + B ~ 70%. #B187DE is quite light color.
R + G + B =
177 + 135 + 222 = 534 (100%)
R 177 of 534 ~ 33.15%
G 135 of 534 ~ 25.28%
B 222 of 534 ~ 41.57%
#B187DE color CMYK value is (20,39,0,13).
CMYK: (20,39,0,13) C20M39Y0K13 (20%,39%,0%,13%) (0.20/0.39/0.00/0.13)
B1 | 87 | DE | |
---|---|---|---|
RGB | 177 | 135 | 222 |
HSL | 269° | 56.86% | 70.00% |
HSB/HSV | 269° | 39.19% | 87.06% |
CMYK | 20.27% | 39.19% | 0.00% |
12.94% |
HEX | B1 | 87 | DE |
Decimal | 177 | 135 | 222 |
Binary | 10110001 | 10000111 | 11011110 |
Octal | 261 | 207 | 336 |
Examples of css and html codes for elements with #B187DE color. Also use rgb(177,135,222) instead hex code.
.myTextColor { color: #B187DE; }
<p style="color:#B187DE">This sample text font color is #B187DE.</p>
This text font color is #B187DE.
.myBgColor { background-color: #B187DE; }
<div style="background-color:#B187DE">Inner text</div>
This div background color is #B187DE.
.myBorderColor { border: 1px solid #B187DE; }
<div style="border:3px solid #B187DE">Div</div>
This div border color is #B187DE.
.myOpacity80 { color: #B187DE; opacity: 0.8; }
<p style="color:#B187DE;opacity:0.8;">80%</p>
Text with #B187DE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B187DE;}
<p style="text-shadow: 3px 3px 1px #B187DE">Text here.</p>
This text has shadow with #B187DE color.
.textShadow {text-shadow: 3px 3px 1px #B187DE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B187DE, 5px 5px 20px red">Text here.</p>
This text has shadow with #B187DE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B187DE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B187DE, Direction=45, Strength=4)">Text</p>
This text has shadow with #B187DE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B187DE; -webkit-box-shadow: 1px 1px 3px 2px #B187DE; box-shadow: 1px 1px 3px 2px #B187DE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B187DE; -webkit-box-shadow: 1px 1px 3px 2px #B187DE; box-shadow:1px 1px 3px 2px #B187DE;">
Div content here</div>
This text has color #B187DE on black background.
This text has color #B187DE on white background.
This text has black color on #B187DE background.
This text has white color on #B187DE background.