COLOR #842842

HEX: #842842
RGB: (132,40,66)

Color info

#842842 contains mainly red color. Web safe color of #842842 is #993333 (or #933).

RGB color model

#842842 color RGB value is (132,40,66).

  • red value is 132;
  • green value is 40;
  • blue value is 66.
RGB:
(132,40,66)
(52%,16%,26%)

RGB channels and saturation

R 132 of 255 = 52%
G 40 of 255 = 16%
B 66 of 255 = 26%

132
40
66

R + G + B ~ 31%. #842842 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
132 + 40 + 66 = 238 (100%)
R 132 of 238 ~ 55.46%
G 40 of 238 ~ 16.81%
B 66 of 238 ~ 27.73%

%55.46
%16.81
%27.73

CMYK color model

#842842 color CMYK value is (0,70,50,48).

  • cyan value is 0.00%
  • magenta value is 69.70%
  • yellow value is 50.00%
  • key color value is 48.24%
CMYK:
(0,70,50,48)
C0M70Y50K48 
(0%,70%,50%,48%)
(0.00/0.70/0.50/0.48)	

CMYK percentages

%0
%69.7
%50
%48.24

Codes

Color #842842 in popluar color models

842842
RGB1324066
HSL343°53.49%33.73%
HSB/HSV343°69.70%51.76%
CMYK0.00%69.70%50.00%
48.24%

Color #842842 in popluar number systems.

HEX842842
Decimal1324066
Binary100001001010001000010
Octal20450102

Shades and tints

Shades of #842842

#842842
(132,40,66)
#78253C
(120,37,60)
#6C2236
(108,34,54)
#601F30
(96,31,48)
#541C2A
(84,28,42)
#481924
(72,25,36)
#3C161E
(60,22,30)
#301318
(48,19,24)
#241012
(36,16,18)
#180D0C
(24,13,12)
#0C0A06
(12,10,6)
#000000
(0,0,0)

Tints of #842842

#842842
(132,40,66)
#8F3B53
(143,59,83)
#9A4E64
(154,78,100)
#A56175
(165,97,117)
#B07486
(176,116,134)
#BB8797
(187,135,151)
#C69AA8
(198,154,168)
#D1ADB9
(209,173,185)
#DCC0CA
(220,192,202)
#E7D3DB
(231,211,219)
#F2E6EC
(242,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #842842 color. Also use rgb(132,40,66) instead hex code.

Text Font Color

.myTextColor { color: #842842; }

<p style="color:#842842">This sample text font color is #842842.</p>

This text font color is #842842.


Background Color

.myBgColor { background-color: #842842; }

<div style="background-color:#842842">Inner text</div>

This div background color is #842842.


Border color

.myBorderColor { border: 1px solid #842842; }

<div style="border:3px solid #842842">Div</div>

This div border color is #842842.


Opacity

.myOpacity80 { color: #842842; opacity: 0.8; }

<p style="color:#842842;opacity:0.8;">80%</p>

Text with #842842 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #842842;}

<p style="text-shadow: 3px 3px 1px #842842">Text here.</p>

This text has shadow with #842842 color.

.textShadow {text-shadow: 3px 3px 1px #842842, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #842842, 5px 5px 20px red">Text here.</p>

This text has shadow with #842842 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#842842, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#842842, Direction=45, Strength=4)">Text</p>

This text has shadow with #842842 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #842842;
  -webkit-box-shadow:	1px 1px 3px 2px #842842;
  box-shadow:		1px 1px 3px 2px #842842;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #842842;
-webkit-box-shadow: 1px 1px 3px 2px #842842;
box-shadow:1px 1px 3px 2px #842842;">
Div content here</div>
This div box has shadow with color #842842.

Preview

Color preview on black background

This text has color #842842 on black background.


Color preview on white background

This text has color #842842 on white background.



Black color preview on #842842 background

This text has black color on #842842 background.


White color preview on #842842 background

This text has white color on #842842 background.