HEX: #B591D1
RGB: (181,145,209)
#B591D1 contains mainly red and blue colors. Web safe color of #B591D1 is #CC99CC (or #C9C).
#B591D1 color RGB value is (181,145,209).
RGB: (181,145,209) (71%,57%,82%)
R 181 of 255 = 71%
G 145 of 255 = 57%
B 209 of 255 = 82%
R + G + B ~ 70%. #B591D1 is quite light color.
R + G + B =
181 + 145 + 209 = 535 (100%)
R 181 of 535 ~ 33.83%
G 145 of 535 ~ 27.1%
B 209 of 535 ~ 39.07%
#B591D1 color CMYK value is (13,31,0,18).
CMYK: (13,31,0,18) C13M31Y0K18 (13%,31%,0%,18%) (0.13/0.31/0.00/0.18)
B5 | 91 | D1 | |
---|---|---|---|
RGB | 181 | 145 | 209 |
HSL | 274° | 41.03% | 69.41% |
HSB/HSV | 274° | 30.62% | 81.96% |
CMYK | 13.40% | 30.62% | 0.00% |
18.04% |
HEX | B5 | 91 | D1 |
Decimal | 181 | 145 | 209 |
Binary | 10110101 | 10010001 | 11010001 |
Octal | 265 | 221 | 321 |
Examples of css and html codes for elements with #B591D1 color. Also use rgb(181,145,209) instead hex code.
.myTextColor { color: #B591D1; }
<p style="color:#B591D1">This sample text font color is #B591D1.</p>
This text font color is #B591D1.
.myBgColor { background-color: #B591D1; }
<div style="background-color:#B591D1">Inner text</div>
This div background color is #B591D1.
.myBorderColor { border: 1px solid #B591D1; }
<div style="border:3px solid #B591D1">Div</div>
This div border color is #B591D1.
.myOpacity80 { color: #B591D1; opacity: 0.8; }
<p style="color:#B591D1;opacity:0.8;">80%</p>
Text with #B591D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B591D1;}
<p style="text-shadow: 3px 3px 1px #B591D1">Text here.</p>
This text has shadow with #B591D1 color.
.textShadow {text-shadow: 3px 3px 1px #B591D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B591D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #B591D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B591D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B591D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B591D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B591D1; -webkit-box-shadow: 1px 1px 3px 2px #B591D1; box-shadow: 1px 1px 3px 2px #B591D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B591D1; -webkit-box-shadow: 1px 1px 3px 2px #B591D1; box-shadow:1px 1px 3px 2px #B591D1;">
Div content here</div>
This text has color #B591D1 on black background.
This text has color #B591D1 on white background.
This text has black color on #B591D1 background.
This text has white color on #B591D1 background.