HEX: #B478A0
RGB: (180,120,160)
#B478A0 contains mainly red and blue colors. Web safe color of #B478A0 is #CC6699 (or #C69).
#B478A0 color RGB value is (180,120,160).
RGB: (180,120,160) (71%,47%,63%)
R 180 of 255 = 71%
G 120 of 255 = 47%
B 160 of 255 = 63%
R + G + B ~ 60%. #B478A0 is middle color (not dark and not light).
R + G + B =
180 + 120 + 160 = 460 (100%)
R 180 of 460 ~ 39.13%
G 120 of 460 ~ 26.09%
B 160 of 460 ~ 34.78%
#B478A0 color CMYK value is (0,33,11,29).
CMYK: (0,33,11,29) C0M33Y11K29 (0%,33%,11%,29%) (0.00/0.33/0.11/0.29)
B4 | 78 | A0 | |
---|---|---|---|
RGB | 180 | 120 | 160 |
HSL | 320° | 28.57% | 58.82% |
HSB/HSV | 320° | 33.33% | 70.59% |
CMYK | 0.00% | 33.33% | 11.11% |
29.41% |
HEX | B4 | 78 | A0 |
Decimal | 180 | 120 | 160 |
Binary | 10110100 | 1111000 | 10100000 |
Octal | 264 | 170 | 240 |
Examples of css and html codes for elements with #B478A0 color. Also use rgb(180,120,160) instead hex code.
.myTextColor { color: #B478A0; }
<p style="color:#B478A0">This sample text font color is #B478A0.</p>
This text font color is #B478A0.
.myBgColor { background-color: #B478A0; }
<div style="background-color:#B478A0">Inner text</div>
This div background color is #B478A0.
.myBorderColor { border: 1px solid #B478A0; }
<div style="border:3px solid #B478A0">Div</div>
This div border color is #B478A0.
.myOpacity80 { color: #B478A0; opacity: 0.8; }
<p style="color:#B478A0;opacity:0.8;">80%</p>
Text with #B478A0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B478A0;}
<p style="text-shadow: 3px 3px 1px #B478A0">Text here.</p>
This text has shadow with #B478A0 color.
.textShadow {text-shadow: 3px 3px 1px #B478A0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B478A0, 5px 5px 20px red">Text here.</p>
This text has shadow with #B478A0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B478A0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B478A0, Direction=45, Strength=4)">Text</p>
This text has shadow with #B478A0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B478A0; -webkit-box-shadow: 1px 1px 3px 2px #B478A0; box-shadow: 1px 1px 3px 2px #B478A0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B478A0; -webkit-box-shadow: 1px 1px 3px 2px #B478A0; box-shadow:1px 1px 3px 2px #B478A0;">
Div content here</div>
This text has color #B478A0 on black background.
This text has color #B478A0 on white background.
This text has black color on #B478A0 background.
This text has white color on #B478A0 background.