HEX: #B4258E
RGB: (180,37,142)
#B4258E contains mainly red and blue colors. Web safe color of #B4258E is #CC3399 (or #C39).
#B4258E color RGB value is (180,37,142).
RGB: (180,37,142) (71%,15%,56%)
R 180 of 255 = 71%
G 37 of 255 = 15%
B 142 of 255 = 56%
R + G + B ~ 47%. #B4258E is middle color (not dark and not light).
R + G + B =
180 + 37 + 142 = 359 (100%)
R 180 of 359 ~ 50.14%
G 37 of 359 ~ 10.31%
B 142 of 359 ~ 39.55%
#B4258E color CMYK value is (0,79,21,29).
CMYK: (0,79,21,29) C0M79Y21K29 (0%,79%,21%,29%) (0.00/0.79/0.21/0.29)
B4 | 25 | 8E | |
---|---|---|---|
RGB | 180 | 37 | 142 |
HSL | 316° | 65.90% | 42.55% |
HSB/HSV | 316° | 79.44% | 70.59% |
CMYK | 0.00% | 79.44% | 21.11% |
29.41% |
HEX | B4 | 25 | 8E |
Decimal | 180 | 37 | 142 |
Binary | 10110100 | 100101 | 10001110 |
Octal | 264 | 45 | 216 |
Examples of css and html codes for elements with #B4258E color. Also use rgb(180,37,142) instead hex code.
.myTextColor { color: #B4258E; }
<p style="color:#B4258E">This sample text font color is #B4258E.</p>
This text font color is #B4258E.
.myBgColor { background-color: #B4258E; }
<div style="background-color:#B4258E">Inner text</div>
This div background color is #B4258E.
.myBorderColor { border: 1px solid #B4258E; }
<div style="border:3px solid #B4258E">Div</div>
This div border color is #B4258E.
.myOpacity80 { color: #B4258E; opacity: 0.8; }
<p style="color:#B4258E;opacity:0.8;">80%</p>
Text with #B4258E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4258E;}
<p style="text-shadow: 3px 3px 1px #B4258E">Text here.</p>
This text has shadow with #B4258E color.
.textShadow {text-shadow: 3px 3px 1px #B4258E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4258E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4258E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4258E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4258E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4258E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4258E; -webkit-box-shadow: 1px 1px 3px 2px #B4258E; box-shadow: 1px 1px 3px 2px #B4258E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4258E; -webkit-box-shadow: 1px 1px 3px 2px #B4258E; box-shadow:1px 1px 3px 2px #B4258E;">
Div content here</div>
This text has color #B4258E on black background.
This text has color #B4258E on white background.
This text has black color on #B4258E background.
This text has white color on #B4258E background.