HEX: #B04B8C
RGB: (176,75,140)
#B04B8C contains mainly red and blue colors. Web safe color of #B04B8C is #993399 (or #939).
#B04B8C color RGB value is (176,75,140).
RGB: (176,75,140) (69%,29%,55%)
R 176 of 255 = 69%
G 75 of 255 = 29%
B 140 of 255 = 55%
R + G + B ~ 51%. #B04B8C is middle color (not dark and not light).
R + G + B =
176 + 75 + 140 = 391 (100%)
R 176 of 391 ~ 45.01%
G 75 of 391 ~ 19.18%
B 140 of 391 ~ 35.81%
#B04B8C color CMYK value is (0,57,20,31).
CMYK: (0,57,20,31) C0M57Y20K31 (0%,57%,20%,31%) (0.00/0.57/0.20/0.31)
B0 | 4B | 8C | |
---|---|---|---|
RGB | 176 | 75 | 140 |
HSL | 321° | 40.24% | 49.22% |
HSB/HSV | 321° | 57.39% | 69.02% |
CMYK | 0.00% | 57.39% | 20.45% |
30.98% |
HEX | B0 | 4B | 8C |
Decimal | 176 | 75 | 140 |
Binary | 10110000 | 1001011 | 10001100 |
Octal | 260 | 113 | 214 |
Examples of css and html codes for elements with #B04B8C color. Also use rgb(176,75,140) instead hex code.
.myTextColor { color: #B04B8C; }
<p style="color:#B04B8C">This sample text font color is #B04B8C.</p>
This text font color is #B04B8C.
.myBgColor { background-color: #B04B8C; }
<div style="background-color:#B04B8C">Inner text</div>
This div background color is #B04B8C.
.myBorderColor { border: 1px solid #B04B8C; }
<div style="border:3px solid #B04B8C">Div</div>
This div border color is #B04B8C.
.myOpacity80 { color: #B04B8C; opacity: 0.8; }
<p style="color:#B04B8C;opacity:0.8;">80%</p>
Text with #B04B8C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B04B8C;}
<p style="text-shadow: 3px 3px 1px #B04B8C">Text here.</p>
This text has shadow with #B04B8C color.
.textShadow {text-shadow: 3px 3px 1px #B04B8C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B04B8C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B04B8C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B04B8C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B04B8C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B04B8C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B04B8C; -webkit-box-shadow: 1px 1px 3px 2px #B04B8C; box-shadow: 1px 1px 3px 2px #B04B8C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B04B8C; -webkit-box-shadow: 1px 1px 3px 2px #B04B8C; box-shadow:1px 1px 3px 2px #B04B8C;">
Div content here</div>
This text has color #B04B8C on black background.
This text has color #B04B8C on white background.
This text has black color on #B04B8C background.
This text has white color on #B04B8C background.