HEX: #B5516B
RGB: (181,81,107)
#B5516B contains mainly red color. Web safe color of #B5516B is #CC6666 (or #C66).
#B5516B color RGB value is (181,81,107).
RGB: (181,81,107) (71%,32%,42%)
R 181 of 255 = 71%
G 81 of 255 = 32%
B 107 of 255 = 42%
R + G + B ~ 48%. #B5516B is middle color (not dark and not light).
R + G + B =
181 + 81 + 107 = 369 (100%)
R 181 of 369 ~ 49.05%
G 81 of 369 ~ 21.95%
B 107 of 369 ~ 29%
#B5516B color CMYK value is (0,55,41,29).
CMYK: (0,55,41,29) C0M55Y41K29 (0%,55%,41%,29%) (0.00/0.55/0.41/0.29)
B5 | 51 | 6B | |
---|---|---|---|
RGB | 181 | 81 | 107 |
HSL | 344° | 40.32% | 51.37% |
HSB/HSV | 344° | 55.25% | 70.98% |
CMYK | 0.00% | 55.25% | 40.88% |
29.02% |
HEX | B5 | 51 | 6B |
Decimal | 181 | 81 | 107 |
Binary | 10110101 | 1010001 | 1101011 |
Octal | 265 | 121 | 153 |
Examples of css and html codes for elements with #B5516B color. Also use rgb(181,81,107) instead hex code.
.myTextColor { color: #B5516B; }
<p style="color:#B5516B">This sample text font color is #B5516B.</p>
This text font color is #B5516B.
.myBgColor { background-color: #B5516B; }
<div style="background-color:#B5516B">Inner text</div>
This div background color is #B5516B.
.myBorderColor { border: 1px solid #B5516B; }
<div style="border:3px solid #B5516B">Div</div>
This div border color is #B5516B.
.myOpacity80 { color: #B5516B; opacity: 0.8; }
<p style="color:#B5516B;opacity:0.8;">80%</p>
Text with #B5516B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5516B;}
<p style="text-shadow: 3px 3px 1px #B5516B">Text here.</p>
This text has shadow with #B5516B color.
.textShadow {text-shadow: 3px 3px 1px #B5516B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5516B, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5516B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5516B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5516B, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5516B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5516B; -webkit-box-shadow: 1px 1px 3px 2px #B5516B; box-shadow: 1px 1px 3px 2px #B5516B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5516B; -webkit-box-shadow: 1px 1px 3px 2px #B5516B; box-shadow:1px 1px 3px 2px #B5516B;">
Div content here</div>
This text has color #B5516B on black background.
This text has color #B5516B on white background.
This text has black color on #B5516B background.
This text has white color on #B5516B background.