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