HEX: #B472EC
RGB: (180,114,236)
#B472EC contains mainly red and blue colors. Web safe color of #B472EC is #CC66FF (or #C6F).
#B472EC color RGB value is (180,114,236).
RGB: (180,114,236) (71%,45%,93%)
R 180 of 255 = 71%
G 114 of 255 = 45%
B 236 of 255 = 93%
R + G + B ~ 70%. #B472EC is quite light color.
R + G + B =
180 + 114 + 236 = 530 (100%)
R 180 of 530 ~ 33.96%
G 114 of 530 ~ 21.51%
B 236 of 530 ~ 44.53%
#B472EC color CMYK value is (24,52,0,7).
CMYK: (24,52,0,7) C24M52Y0K7 (24%,52%,0%,7%) (0.24/0.52/0.00/0.07)
B4 | 72 | EC | |
---|---|---|---|
RGB | 180 | 114 | 236 |
HSL | 272° | 76.25% | 68.63% |
HSB/HSV | 272° | 51.69% | 92.55% |
CMYK | 23.73% | 51.69% | 0.00% |
7.45% |
HEX | B4 | 72 | EC |
Decimal | 180 | 114 | 236 |
Binary | 10110100 | 1110010 | 11101100 |
Octal | 264 | 162 | 354 |
Examples of css and html codes for elements with #B472EC color. Also use rgb(180,114,236) instead hex code.
.myTextColor { color: #B472EC; }
<p style="color:#B472EC">This sample text font color is #B472EC.</p>
This text font color is #B472EC.
.myBgColor { background-color: #B472EC; }
<div style="background-color:#B472EC">Inner text</div>
This div background color is #B472EC.
.myBorderColor { border: 1px solid #B472EC; }
<div style="border:3px solid #B472EC">Div</div>
This div border color is #B472EC.
.myOpacity80 { color: #B472EC; opacity: 0.8; }
<p style="color:#B472EC;opacity:0.8;">80%</p>
Text with #B472EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B472EC;}
<p style="text-shadow: 3px 3px 1px #B472EC">Text here.</p>
This text has shadow with #B472EC color.
.textShadow {text-shadow: 3px 3px 1px #B472EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B472EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B472EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B472EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B472EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B472EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B472EC; -webkit-box-shadow: 1px 1px 3px 2px #B472EC; box-shadow: 1px 1px 3px 2px #B472EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B472EC; -webkit-box-shadow: 1px 1px 3px 2px #B472EC; box-shadow:1px 1px 3px 2px #B472EC;">
Div content here</div>
This text has color #B472EC on black background.
This text has color #B472EC on white background.
This text has black color on #B472EC background.
This text has white color on #B472EC background.