HEX: #B8AFD5
RGB: (184,175,213)
#B8AFD5 contains red, green and blue colors in about the same proportion. Web safe color of #B8AFD5 is #CC99CC (or #C9C).
#B8AFD5 color RGB value is (184,175,213).
RGB: (184,175,213) (72%,69%,84%)
R 184 of 255 = 72%
G 175 of 255 = 69%
B 213 of 255 = 84%
R + G + B ~ 75%. #B8AFD5 is quite light color.
R + G + B =
184 + 175 + 213 = 572 (100%)
R 184 of 572 ~ 32.17%
G 175 of 572 ~ 30.59%
B 213 of 572 ~ 37.24%
#B8AFD5 color CMYK value is (14,18,0,16).
CMYK: (14,18,0,16) C14M18Y0K16 (14%,18%,0%,16%) (0.14/0.18/0.00/0.16)
B8 | AF | D5 | |
---|---|---|---|
RGB | 184 | 175 | 213 |
HSL | 254° | 31.15% | 76.08% |
HSB/HSV | 254° | 17.84% | 83.53% |
CMYK | 13.62% | 17.84% | 0.00% |
16.47% |
HEX | B8 | AF | D5 |
Decimal | 184 | 175 | 213 |
Binary | 10111000 | 10101111 | 11010101 |
Octal | 270 | 257 | 325 |
Examples of css and html codes for elements with #B8AFD5 color. Also use rgb(184,175,213) instead hex code.
.myTextColor { color: #B8AFD5; }
<p style="color:#B8AFD5">This sample text font color is #B8AFD5.</p>
This text font color is #B8AFD5.
.myBgColor { background-color: #B8AFD5; }
<div style="background-color:#B8AFD5">Inner text</div>
This div background color is #B8AFD5.
.myBorderColor { border: 1px solid #B8AFD5; }
<div style="border:3px solid #B8AFD5">Div</div>
This div border color is #B8AFD5.
.myOpacity80 { color: #B8AFD5; opacity: 0.8; }
<p style="color:#B8AFD5;opacity:0.8;">80%</p>
Text with #B8AFD5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B8AFD5;}
<p style="text-shadow: 3px 3px 1px #B8AFD5">Text here.</p>
This text has shadow with #B8AFD5 color.
.textShadow {text-shadow: 3px 3px 1px #B8AFD5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B8AFD5, 5px 5px 20px red">Text here.</p>
This text has shadow with #B8AFD5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B8AFD5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B8AFD5, Direction=45, Strength=4)">Text</p>
This text has shadow with #B8AFD5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B8AFD5; -webkit-box-shadow: 1px 1px 3px 2px #B8AFD5; box-shadow: 1px 1px 3px 2px #B8AFD5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B8AFD5; -webkit-box-shadow: 1px 1px 3px 2px #B8AFD5; box-shadow:1px 1px 3px 2px #B8AFD5;">
Div content here</div>
This text has color #B8AFD5 on black background.
This text has color #B8AFD5 on white background.
This text has black color on #B8AFD5 background.
This text has white color on #B8AFD5 background.