HEX: #B2708E
RGB: (178,112,142)
#B2708E contains mainly red and blue colors. Web safe color of #B2708E is #996699 (or #969).
#B2708E color RGB value is (178,112,142).
RGB: (178,112,142) (70%,44%,56%)
R 178 of 255 = 70%
G 112 of 255 = 44%
B 142 of 255 = 56%
R + G + B ~ 57%. #B2708E is middle color (not dark and not light).
R + G + B =
178 + 112 + 142 = 432 (100%)
R 178 of 432 ~ 41.2%
G 112 of 432 ~ 25.93%
B 142 of 432 ~ 32.87%
#B2708E color CMYK value is (0,37,20,30).
CMYK: (0,37,20,30) C0M37Y20K30 (0%,37%,20%,30%) (0.00/0.37/0.20/0.30)
B2 | 70 | 8E | |
---|---|---|---|
RGB | 178 | 112 | 142 |
HSL | 333° | 30.00% | 56.86% |
HSB/HSV | 333° | 37.08% | 69.80% |
CMYK | 0.00% | 37.08% | 20.22% |
30.20% |
HEX | B2 | 70 | 8E |
Decimal | 178 | 112 | 142 |
Binary | 10110010 | 1110000 | 10001110 |
Octal | 262 | 160 | 216 |
Examples of css and html codes for elements with #B2708E color. Also use rgb(178,112,142) instead hex code.
.myTextColor { color: #B2708E; }
<p style="color:#B2708E">This sample text font color is #B2708E.</p>
This text font color is #B2708E.
.myBgColor { background-color: #B2708E; }
<div style="background-color:#B2708E">Inner text</div>
This div background color is #B2708E.
.myBorderColor { border: 1px solid #B2708E; }
<div style="border:3px solid #B2708E">Div</div>
This div border color is #B2708E.
.myOpacity80 { color: #B2708E; opacity: 0.8; }
<p style="color:#B2708E;opacity:0.8;">80%</p>
Text with #B2708E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2708E;}
<p style="text-shadow: 3px 3px 1px #B2708E">Text here.</p>
This text has shadow with #B2708E color.
.textShadow {text-shadow: 3px 3px 1px #B2708E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2708E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2708E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2708E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2708E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2708E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2708E; -webkit-box-shadow: 1px 1px 3px 2px #B2708E; box-shadow: 1px 1px 3px 2px #B2708E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2708E; -webkit-box-shadow: 1px 1px 3px 2px #B2708E; box-shadow:1px 1px 3px 2px #B2708E;">
Div content here</div>
This text has color #B2708E on black background.
This text has color #B2708E on white background.
This text has black color on #B2708E background.
This text has white color on #B2708E background.