HEX: #B4B5DC
RGB: (180,181,220)
#B4B5DC contains red, green and blue colors in about the same proportion. Web safe color of #B4B5DC is #CCCCCC (or #CCC).
#B4B5DC color RGB value is (180,181,220).
RGB: (180,181,220) (71%,71%,86%)
R 180 of 255 = 71%
G 181 of 255 = 71%
B 220 of 255 = 86%
R + G + B ~ 76%. #B4B5DC is quite light color.
R + G + B =
180 + 181 + 220 = 581 (100%)
R 180 of 581 ~ 30.98%
G 181 of 581 ~ 31.15%
B 220 of 581 ~ 37.87%
#B4B5DC color CMYK value is (18,18,0,14).
CMYK: (18,18,0,14) C18M18Y0K14 (18%,18%,0%,14%) (0.18/0.18/0.00/0.14)
B4 | B5 | DC | |
---|---|---|---|
RGB | 180 | 181 | 220 |
HSL | 239° | 36.36% | 78.43% |
HSB/HSV | 239° | 18.18% | 86.27% |
CMYK | 18.18% | 17.73% | 0.00% |
13.73% |
HEX | B4 | B5 | DC |
Decimal | 180 | 181 | 220 |
Binary | 10110100 | 10110101 | 11011100 |
Octal | 264 | 265 | 334 |
Examples of css and html codes for elements with #B4B5DC color. Also use rgb(180,181,220) instead hex code.
.myTextColor { color: #B4B5DC; }
<p style="color:#B4B5DC">This sample text font color is #B4B5DC.</p>
This text font color is #B4B5DC.
.myBgColor { background-color: #B4B5DC; }
<div style="background-color:#B4B5DC">Inner text</div>
This div background color is #B4B5DC.
.myBorderColor { border: 1px solid #B4B5DC; }
<div style="border:3px solid #B4B5DC">Div</div>
This div border color is #B4B5DC.
.myOpacity80 { color: #B4B5DC; opacity: 0.8; }
<p style="color:#B4B5DC;opacity:0.8;">80%</p>
Text with #B4B5DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4B5DC;}
<p style="text-shadow: 3px 3px 1px #B4B5DC">Text here.</p>
This text has shadow with #B4B5DC color.
.textShadow {text-shadow: 3px 3px 1px #B4B5DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4B5DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4B5DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4B5DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4B5DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4B5DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4B5DC; -webkit-box-shadow: 1px 1px 3px 2px #B4B5DC; box-shadow: 1px 1px 3px 2px #B4B5DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4B5DC; -webkit-box-shadow: 1px 1px 3px 2px #B4B5DC; box-shadow:1px 1px 3px 2px #B4B5DC;">
Div content here</div>
This text has color #B4B5DC on black background.
This text has color #B4B5DC on white background.
This text has black color on #B4B5DC background.
This text has white color on #B4B5DC background.