HEX: #842250
RGB: (132,34,80)
#842250 contains mainly red and blue colors. Web safe color of #842250 is #993366 (or #936).
#842250 color RGB value is (132,34,80).
RGB: (132,34,80) (52%,13%,31%)
R 132 of 255 = 52%
G 34 of 255 = 13%
B 80 of 255 = 31%
R + G + B ~ 32%. #842250 is quite dark color.
R + G + B =
132 + 34 + 80 = 246 (100%)
R 132 of 246 ~ 53.66%
G 34 of 246 ~ 13.82%
B 80 of 246 ~ 32.52%
#842250 color CMYK value is (0,74,39,48).
CMYK: (0,74,39,48) C0M74Y39K48 (0%,74%,39%,48%) (0.00/0.74/0.39/0.48)
84 | 22 | 50 | |
---|---|---|---|
RGB | 132 | 34 | 80 |
HSL | 332° | 59.04% | 32.55% |
HSB/HSV | 332° | 74.24% | 51.76% |
CMYK | 0.00% | 74.24% | 39.39% |
48.24% |
HEX | 84 | 22 | 50 |
Decimal | 132 | 34 | 80 |
Binary | 10000100 | 100010 | 1010000 |
Octal | 204 | 42 | 120 |
Examples of css and html codes for elements with #842250 color. Also use rgb(132,34,80) instead hex code.
.myTextColor { color: #842250; }
<p style="color:#842250">This sample text font color is #842250.</p>
This text font color is #842250.
.myBgColor { background-color: #842250; }
<div style="background-color:#842250">Inner text</div>
This div background color is #842250.
.myBorderColor { border: 1px solid #842250; }
<div style="border:3px solid #842250">Div</div>
This div border color is #842250.
.myOpacity80 { color: #842250; opacity: 0.8; }
<p style="color:#842250;opacity:0.8;">80%</p>
Text with #842250 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #842250;}
<p style="text-shadow: 3px 3px 1px #842250">Text here.</p>
This text has shadow with #842250 color.
.textShadow {text-shadow: 3px 3px 1px #842250, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #842250, 5px 5px 20px red">Text here.</p>
This text has shadow with #842250 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#842250, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#842250, Direction=45, Strength=4)">Text</p>
This text has shadow with #842250 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #842250; -webkit-box-shadow: 1px 1px 3px 2px #842250; box-shadow: 1px 1px 3px 2px #842250; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #842250; -webkit-box-shadow: 1px 1px 3px 2px #842250; box-shadow:1px 1px 3px 2px #842250;">
Div content here</div>
This text has color #842250 on black background.
This text has color #842250 on white background.
This text has black color on #842250 background.
This text has white color on #842250 background.