HEX: #B4B4FF
RGB: (180,180,255)
#B4B4FF contains mainly blue color. Web safe color of #B4B4FF is #CCCCFF (or #CCF).
#B4B4FF color RGB value is (180,180,255).
RGB: (180,180,255) (71%,71%,100%)
R 180 of 255 = 71%
G 180 of 255 = 71%
B 255 of 255 = 100%
R + G + B ~ 81%. #B4B4FF is quite light color.
R + G + B =
180 + 180 + 255 = 615 (100%)
R 180 of 615 ~ 29.27%
G 180 of 615 ~ 29.27%
B 255 of 615 ~ 41.46%
#B4B4FF color CMYK value is (29,29,0,0).
CMYK: (29,29,0,0) C29M29Y0K0 (29%,29%,0%,0%) (0.29/0.29/0.00/0.00)
B4 | B4 | FF | |
---|---|---|---|
RGB | 180 | 180 | 255 |
HSL | 240° | 100.00% | 85.29% |
HSB/HSV | 240° | 29.41% | 100.00% |
CMYK | 29.41% | 29.41% | 0.00% |
0.00% |
HEX | B4 | B4 | FF |
Decimal | 180 | 180 | 255 |
Binary | 10110100 | 10110100 | 11111111 |
Octal | 264 | 264 | 377 |
Examples of css and html codes for elements with #B4B4FF color. Also use rgb(180,180,255) instead hex code.
.myTextColor { color: #B4B4FF; }
<p style="color:#B4B4FF">This sample text font color is #B4B4FF.</p>
This text font color is #B4B4FF.
.myBgColor { background-color: #B4B4FF; }
<div style="background-color:#B4B4FF">Inner text</div>
This div background color is #B4B4FF.
.myBorderColor { border: 1px solid #B4B4FF; }
<div style="border:3px solid #B4B4FF">Div</div>
This div border color is #B4B4FF.
.myOpacity80 { color: #B4B4FF; opacity: 0.8; }
<p style="color:#B4B4FF;opacity:0.8;">80%</p>
Text with #B4B4FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4B4FF;}
<p style="text-shadow: 3px 3px 1px #B4B4FF">Text here.</p>
This text has shadow with #B4B4FF color.
.textShadow {text-shadow: 3px 3px 1px #B4B4FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4B4FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4B4FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4B4FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4B4FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4B4FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4B4FF; -webkit-box-shadow: 1px 1px 3px 2px #B4B4FF; box-shadow: 1px 1px 3px 2px #B4B4FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4B4FF; -webkit-box-shadow: 1px 1px 3px 2px #B4B4FF; box-shadow:1px 1px 3px 2px #B4B4FF;">
Div content here</div>
This text has color #B4B4FF on black background.
This text has color #B4B4FF on white background.
This text has black color on #B4B4FF background.
This text has white color on #B4B4FF background.