HEX: #B7A8D1
RGB: (183,168,209)
#B7A8D1 contains red, green and blue colors in about the same proportion. Web safe color of #B7A8D1 is #CC99CC (or #C9C).
#B7A8D1 color RGB value is (183,168,209).
RGB: (183,168,209) (72%,66%,82%)
R 183 of 255 = 72%
G 168 of 255 = 66%
B 209 of 255 = 82%
R + G + B ~ 73%. #B7A8D1 is quite light color.
R + G + B =
183 + 168 + 209 = 560 (100%)
R 183 of 560 ~ 32.68%
G 168 of 560 ~ 30%
B 209 of 560 ~ 37.32%
#B7A8D1 color CMYK value is (12,20,0,18).
CMYK: (12,20,0,18) C12M20Y0K18 (12%,20%,0%,18%) (0.12/0.20/0.00/0.18)
B7 | A8 | D1 | |
---|---|---|---|
RGB | 183 | 168 | 209 |
HSL | 262° | 30.83% | 73.92% |
HSB/HSV | 262° | 19.62% | 81.96% |
CMYK | 12.44% | 19.62% | 0.00% |
18.04% |
HEX | B7 | A8 | D1 |
Decimal | 183 | 168 | 209 |
Binary | 10110111 | 10101000 | 11010001 |
Octal | 267 | 250 | 321 |
Examples of css and html codes for elements with #B7A8D1 color. Also use rgb(183,168,209) instead hex code.
.myTextColor { color: #B7A8D1; }
<p style="color:#B7A8D1">This sample text font color is #B7A8D1.</p>
This text font color is #B7A8D1.
.myBgColor { background-color: #B7A8D1; }
<div style="background-color:#B7A8D1">Inner text</div>
This div background color is #B7A8D1.
.myBorderColor { border: 1px solid #B7A8D1; }
<div style="border:3px solid #B7A8D1">Div</div>
This div border color is #B7A8D1.
.myOpacity80 { color: #B7A8D1; opacity: 0.8; }
<p style="color:#B7A8D1;opacity:0.8;">80%</p>
Text with #B7A8D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B7A8D1;}
<p style="text-shadow: 3px 3px 1px #B7A8D1">Text here.</p>
This text has shadow with #B7A8D1 color.
.textShadow {text-shadow: 3px 3px 1px #B7A8D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B7A8D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #B7A8D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B7A8D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B7A8D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B7A8D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B7A8D1; -webkit-box-shadow: 1px 1px 3px 2px #B7A8D1; box-shadow: 1px 1px 3px 2px #B7A8D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B7A8D1; -webkit-box-shadow: 1px 1px 3px 2px #B7A8D1; box-shadow:1px 1px 3px 2px #B7A8D1;">
Div content here</div>
This text has color #B7A8D1 on black background.
This text has color #B7A8D1 on white background.
This text has black color on #B7A8D1 background.
This text has white color on #B7A8D1 background.