HEX: #B4579D
RGB: (180,87,157)
#B4579D contains mainly red and blue colors. Web safe color of #B4579D is #CC6699 (or #C69).
#B4579D color RGB value is (180,87,157).
RGB: (180,87,157) (71%,34%,62%)
R 180 of 255 = 71%
G 87 of 255 = 34%
B 157 of 255 = 62%
R + G + B ~ 56%. #B4579D is middle color (not dark and not light).
R + G + B =
180 + 87 + 157 = 424 (100%)
R 180 of 424 ~ 42.45%
G 87 of 424 ~ 20.52%
B 157 of 424 ~ 37.03%
#B4579D color CMYK value is (0,52,13,29).
CMYK: (0,52,13,29) C0M52Y13K29 (0%,52%,13%,29%) (0.00/0.52/0.13/0.29)
B4 | 57 | 9D | |
---|---|---|---|
RGB | 180 | 87 | 157 |
HSL | 315° | 38.27% | 52.35% |
HSB/HSV | 315° | 51.67% | 70.59% |
CMYK | 0.00% | 51.67% | 12.78% |
29.41% |
HEX | B4 | 57 | 9D |
Decimal | 180 | 87 | 157 |
Binary | 10110100 | 1010111 | 10011101 |
Octal | 264 | 127 | 235 |
Examples of css and html codes for elements with #B4579D color. Also use rgb(180,87,157) instead hex code.
.myTextColor { color: #B4579D; }
<p style="color:#B4579D">This sample text font color is #B4579D.</p>
This text font color is #B4579D.
.myBgColor { background-color: #B4579D; }
<div style="background-color:#B4579D">Inner text</div>
This div background color is #B4579D.
.myBorderColor { border: 1px solid #B4579D; }
<div style="border:3px solid #B4579D">Div</div>
This div border color is #B4579D.
.myOpacity80 { color: #B4579D; opacity: 0.8; }
<p style="color:#B4579D;opacity:0.8;">80%</p>
Text with #B4579D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4579D;}
<p style="text-shadow: 3px 3px 1px #B4579D">Text here.</p>
This text has shadow with #B4579D color.
.textShadow {text-shadow: 3px 3px 1px #B4579D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4579D, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4579D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4579D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4579D, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4579D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4579D; -webkit-box-shadow: 1px 1px 3px 2px #B4579D; box-shadow: 1px 1px 3px 2px #B4579D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4579D; -webkit-box-shadow: 1px 1px 3px 2px #B4579D; box-shadow:1px 1px 3px 2px #B4579D;">
Div content here</div>
This text has color #B4579D on black background.
This text has color #B4579D on white background.
This text has black color on #B4579D background.
This text has white color on #B4579D background.