HEX: #B472EA
RGB: (180,114,234)
#B472EA contains mainly red and blue colors. Web safe color of #B472EA is #CC66FF (or #C6F).
#B472EA color RGB value is (180,114,234).
RGB: (180,114,234) (71%,45%,92%)
R 180 of 255 = 71%
G 114 of 255 = 45%
B 234 of 255 = 92%
R + G + B ~ 69%. #B472EA is quite light color.
R + G + B =
180 + 114 + 234 = 528 (100%)
R 180 of 528 ~ 34.09%
G 114 of 528 ~ 21.59%
B 234 of 528 ~ 44.32%
#B472EA color CMYK value is (23,51,0,8).
CMYK: (23,51,0,8) C23M51Y0K8 (23%,51%,0%,8%) (0.23/0.51/0.00/0.08)
B4 | 72 | EA | |
---|---|---|---|
RGB | 180 | 114 | 234 |
HSL | 273° | 74.07% | 68.24% |
HSB/HSV | 273° | 51.28% | 91.76% |
CMYK | 23.08% | 51.28% | 0.00% |
8.24% |
HEX | B4 | 72 | EA |
Decimal | 180 | 114 | 234 |
Binary | 10110100 | 1110010 | 11101010 |
Octal | 264 | 162 | 352 |
Examples of css and html codes for elements with #B472EA color. Also use rgb(180,114,234) instead hex code.
.myTextColor { color: #B472EA; }
<p style="color:#B472EA">This sample text font color is #B472EA.</p>
This text font color is #B472EA.
.myBgColor { background-color: #B472EA; }
<div style="background-color:#B472EA">Inner text</div>
This div background color is #B472EA.
.myBorderColor { border: 1px solid #B472EA; }
<div style="border:3px solid #B472EA">Div</div>
This div border color is #B472EA.
.myOpacity80 { color: #B472EA; opacity: 0.8; }
<p style="color:#B472EA;opacity:0.8;">80%</p>
Text with #B472EA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B472EA;}
<p style="text-shadow: 3px 3px 1px #B472EA">Text here.</p>
This text has shadow with #B472EA color.
.textShadow {text-shadow: 3px 3px 1px #B472EA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B472EA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B472EA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B472EA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B472EA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B472EA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B472EA; -webkit-box-shadow: 1px 1px 3px 2px #B472EA; box-shadow: 1px 1px 3px 2px #B472EA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B472EA; -webkit-box-shadow: 1px 1px 3px 2px #B472EA; box-shadow:1px 1px 3px 2px #B472EA;">
Div content here</div>
This text has color #B472EA on black background.
This text has color #B472EA on white background.
This text has black color on #B472EA background.
This text has white color on #B472EA background.