HEX: #B2489A
RGB: (178,72,154)
#B2489A contains mainly red and blue colors. Web safe color of #B2489A is #993399 (or #939).
#B2489A color RGB value is (178,72,154).
RGB: (178,72,154) (70%,28%,60%)
R 178 of 255 = 70%
G 72 of 255 = 28%
B 154 of 255 = 60%
R + G + B ~ 53%. #B2489A is middle color (not dark and not light).
R + G + B =
178 + 72 + 154 = 404 (100%)
R 178 of 404 ~ 44.06%
G 72 of 404 ~ 17.82%
B 154 of 404 ~ 38.12%
#B2489A color CMYK value is (0,60,13,30).
CMYK: (0,60,13,30) C0M60Y13K30 (0%,60%,13%,30%) (0.00/0.60/0.13/0.30)
B2 | 48 | 9A | |
---|---|---|---|
RGB | 178 | 72 | 154 |
HSL | 314° | 42.40% | 49.02% |
HSB/HSV | 314° | 59.55% | 69.80% |
CMYK | 0.00% | 59.55% | 13.48% |
30.20% |
HEX | B2 | 48 | 9A |
Decimal | 178 | 72 | 154 |
Binary | 10110010 | 1001000 | 10011010 |
Octal | 262 | 110 | 232 |
Examples of css and html codes for elements with #B2489A color. Also use rgb(178,72,154) instead hex code.
.myTextColor { color: #B2489A; }
<p style="color:#B2489A">This sample text font color is #B2489A.</p>
This text font color is #B2489A.
.myBgColor { background-color: #B2489A; }
<div style="background-color:#B2489A">Inner text</div>
This div background color is #B2489A.
.myBorderColor { border: 1px solid #B2489A; }
<div style="border:3px solid #B2489A">Div</div>
This div border color is #B2489A.
.myOpacity80 { color: #B2489A; opacity: 0.8; }
<p style="color:#B2489A;opacity:0.8;">80%</p>
Text with #B2489A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2489A;}
<p style="text-shadow: 3px 3px 1px #B2489A">Text here.</p>
This text has shadow with #B2489A color.
.textShadow {text-shadow: 3px 3px 1px #B2489A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2489A, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2489A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2489A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2489A, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2489A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2489A; -webkit-box-shadow: 1px 1px 3px 2px #B2489A; box-shadow: 1px 1px 3px 2px #B2489A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2489A; -webkit-box-shadow: 1px 1px 3px 2px #B2489A; box-shadow:1px 1px 3px 2px #B2489A;">
Div content here</div>
This text has color #B2489A on black background.
This text has color #B2489A on white background.
This text has black color on #B2489A background.
This text has white color on #B2489A background.