HEX: #B0517A
RGB: (176,81,122)
#B0517A contains mainly red and blue colors. Web safe color of #B0517A is #996666 (or #966).
#B0517A color RGB value is (176,81,122).
RGB: (176,81,122) (69%,32%,48%)
R 176 of 255 = 69%
G 81 of 255 = 32%
B 122 of 255 = 48%
R + G + B ~ 50%. #B0517A is middle color (not dark and not light).
R + G + B =
176 + 81 + 122 = 379 (100%)
R 176 of 379 ~ 46.44%
G 81 of 379 ~ 21.37%
B 122 of 379 ~ 32.19%
#B0517A color CMYK value is (0,54,31,31).
CMYK: (0,54,31,31) C0M54Y31K31 (0%,54%,31%,31%) (0.00/0.54/0.31/0.31)
B0 | 51 | 7A | |
---|---|---|---|
RGB | 176 | 81 | 122 |
HSL | 334° | 37.55% | 50.39% |
HSB/HSV | 334° | 53.98% | 69.02% |
CMYK | 0.00% | 53.98% | 30.68% |
30.98% |
HEX | B0 | 51 | 7A |
Decimal | 176 | 81 | 122 |
Binary | 10110000 | 1010001 | 1111010 |
Octal | 260 | 121 | 172 |
Examples of css and html codes for elements with #B0517A color. Also use rgb(176,81,122) instead hex code.
.myTextColor { color: #B0517A; }
<p style="color:#B0517A">This sample text font color is #B0517A.</p>
This text font color is #B0517A.
.myBgColor { background-color: #B0517A; }
<div style="background-color:#B0517A">Inner text</div>
This div background color is #B0517A.
.myBorderColor { border: 1px solid #B0517A; }
<div style="border:3px solid #B0517A">Div</div>
This div border color is #B0517A.
.myOpacity80 { color: #B0517A; opacity: 0.8; }
<p style="color:#B0517A;opacity:0.8;">80%</p>
Text with #B0517A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B0517A;}
<p style="text-shadow: 3px 3px 1px #B0517A">Text here.</p>
This text has shadow with #B0517A color.
.textShadow {text-shadow: 3px 3px 1px #B0517A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B0517A, 5px 5px 20px red">Text here.</p>
This text has shadow with #B0517A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B0517A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B0517A, Direction=45, Strength=4)">Text</p>
This text has shadow with #B0517A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B0517A; -webkit-box-shadow: 1px 1px 3px 2px #B0517A; box-shadow: 1px 1px 3px 2px #B0517A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B0517A; -webkit-box-shadow: 1px 1px 3px 2px #B0517A; box-shadow:1px 1px 3px 2px #B0517A;">
Div content here</div>
This text has color #B0517A on black background.
This text has color #B0517A on white background.
This text has black color on #B0517A background.
This text has white color on #B0517A background.