HEX: #B46878
RGB: (180,104,120)
#B46878 contains mainly red color. Web safe color of #B46878 is #CC6666 (or #C66).
#B46878 color RGB value is (180,104,120).
RGB: (180,104,120) (71%,41%,47%)
R 180 of 255 = 71%
G 104 of 255 = 41%
B 120 of 255 = 47%
R + G + B ~ 53%. #B46878 is middle color (not dark and not light).
R + G + B =
180 + 104 + 120 = 404 (100%)
R 180 of 404 ~ 44.55%
G 104 of 404 ~ 25.74%
B 120 of 404 ~ 29.7%
#B46878 color CMYK value is (0,42,33,29).
CMYK: (0,42,33,29) C0M42Y33K29 (0%,42%,33%,29%) (0.00/0.42/0.33/0.29)
B4 | 68 | 78 | |
---|---|---|---|
RGB | 180 | 104 | 120 |
HSL | 347° | 33.63% | 55.69% |
HSB/HSV | 347° | 42.22% | 70.59% |
CMYK | 0.00% | 42.22% | 33.33% |
29.41% |
HEX | B4 | 68 | 78 |
Decimal | 180 | 104 | 120 |
Binary | 10110100 | 1101000 | 1111000 |
Octal | 264 | 150 | 170 |
Examples of css and html codes for elements with #B46878 color. Also use rgb(180,104,120) instead hex code.
.myTextColor { color: #B46878; }
<p style="color:#B46878">This sample text font color is #B46878.</p>
This text font color is #B46878.
.myBgColor { background-color: #B46878; }
<div style="background-color:#B46878">Inner text</div>
This div background color is #B46878.
.myBorderColor { border: 1px solid #B46878; }
<div style="border:3px solid #B46878">Div</div>
This div border color is #B46878.
.myOpacity80 { color: #B46878; opacity: 0.8; }
<p style="color:#B46878;opacity:0.8;">80%</p>
Text with #B46878 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B46878;}
<p style="text-shadow: 3px 3px 1px #B46878">Text here.</p>
This text has shadow with #B46878 color.
.textShadow {text-shadow: 3px 3px 1px #B46878, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B46878, 5px 5px 20px red">Text here.</p>
This text has shadow with #B46878 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B46878, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B46878, Direction=45, Strength=4)">Text</p>
This text has shadow with #B46878 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B46878; -webkit-box-shadow: 1px 1px 3px 2px #B46878; box-shadow: 1px 1px 3px 2px #B46878; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B46878; -webkit-box-shadow: 1px 1px 3px 2px #B46878; box-shadow:1px 1px 3px 2px #B46878;">
Div content here</div>
This text has color #B46878 on black background.
This text has color #B46878 on white background.
This text has black color on #B46878 background.
This text has white color on #B46878 background.