HEX: #B4A8F0
RGB: (180,168,240)
#B4A8F0 contains mainly blue color. Web safe color of #B4A8F0 is #CC99FF (or #C9F).
#B4A8F0 color RGB value is (180,168,240).
RGB: (180,168,240) (71%,66%,94%)
R 180 of 255 = 71%
G 168 of 255 = 66%
B 240 of 255 = 94%
R + G + B ~ 77%. #B4A8F0 is quite light color.
R + G + B =
180 + 168 + 240 = 588 (100%)
R 180 of 588 ~ 30.61%
G 168 of 588 ~ 28.57%
B 240 of 588 ~ 40.82%
#B4A8F0 color CMYK value is (25,30,0,6).
CMYK: (25,30,0,6) C25M30Y0K6 (25%,30%,0%,6%) (0.25/0.30/0.00/0.06)
B4 | A8 | F0 | |
---|---|---|---|
RGB | 180 | 168 | 240 |
HSL | 250° | 70.59% | 80.00% |
HSB/HSV | 250° | 30.00% | 94.12% |
CMYK | 25.00% | 30.00% | 0.00% |
5.88% |
HEX | B4 | A8 | F0 |
Decimal | 180 | 168 | 240 |
Binary | 10110100 | 10101000 | 11110000 |
Octal | 264 | 250 | 360 |
Examples of css and html codes for elements with #B4A8F0 color. Also use rgb(180,168,240) instead hex code.
.myTextColor { color: #B4A8F0; }
<p style="color:#B4A8F0">This sample text font color is #B4A8F0.</p>
This text font color is #B4A8F0.
.myBgColor { background-color: #B4A8F0; }
<div style="background-color:#B4A8F0">Inner text</div>
This div background color is #B4A8F0.
.myBorderColor { border: 1px solid #B4A8F0; }
<div style="border:3px solid #B4A8F0">Div</div>
This div border color is #B4A8F0.
.myOpacity80 { color: #B4A8F0; opacity: 0.8; }
<p style="color:#B4A8F0;opacity:0.8;">80%</p>
Text with #B4A8F0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A8F0;}
<p style="text-shadow: 3px 3px 1px #B4A8F0">Text here.</p>
This text has shadow with #B4A8F0 color.
.textShadow {text-shadow: 3px 3px 1px #B4A8F0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A8F0, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A8F0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A8F0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A8F0, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A8F0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A8F0; -webkit-box-shadow: 1px 1px 3px 2px #B4A8F0; box-shadow: 1px 1px 3px 2px #B4A8F0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A8F0; -webkit-box-shadow: 1px 1px 3px 2px #B4A8F0; box-shadow:1px 1px 3px 2px #B4A8F0;">
Div content here</div>
This text has color #B4A8F0 on black background.
This text has color #B4A8F0 on white background.
This text has black color on #B4A8F0 background.
This text has white color on #B4A8F0 background.