COLOR #422040

HEX: #422040
RGB: (66,32,64)

Color info

#422040 contains red, green and blue colors in about the same proportion. Web safe color of #422040 is #333333 (or #333).

RGB color model

#422040 color RGB value is (66,32,64).

  • red value is 66;
  • green value is 32;
  • blue value is 64.
RGB:
(66,32,64)
(26%,13%,25%)

RGB channels and saturation

R 66 of 255 = 26%
G 32 of 255 = 13%
B 64 of 255 = 25%

66
32
64

R + G + B ~ 21%. #422040 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 32 + 64 = 162 (100%)
R 66 of 162 ~ 40.74%
G 32 of 162 ~ 19.75%
B 64 of 162 ~ 39.51%

%40.74
%19.75
%39.51

CMYK color model

#422040 color CMYK value is (0,52,3,74).

  • cyan value is 0.00%
  • magenta value is 51.52%
  • yellow value is 3.03%
  • key color value is 74.12%
CMYK:
(0,52,3,74)
C0M52Y3K74 
(0%,52%,3%,74%)
(0.00/0.52/0.03/0.74)	

CMYK percentages

%0
%51.52
%3.03
%74.12

Codes

Color #422040 in popluar color models

422040
RGB663264
HSL304°34.69%19.22%
HSB/HSV304°51.52%25.88%
CMYK0.00%51.52%3.03%
74.12%

Color #422040 in popluar number systems.

HEX422040
Decimal663264
Binary10000101000001000000
Octal10240100

Shades and tints

Shades of #422040

#422040
(66,32,64)
#3C1E3B
(60,30,59)
#361C36
(54,28,54)
#301A31
(48,26,49)
#2A182C
(42,24,44)
#241627
(36,22,39)
#1E1422
(30,20,34)
#18121D
(24,18,29)
#121018
(18,16,24)
#0C0E13
(12,14,19)
#060C0E
(6,12,14)
#000000
(0,0,0)

Tints of #422040

#422040
(66,32,64)
#533451
(83,52,81)
#644862
(100,72,98)
#755C73
(117,92,115)
#867084
(134,112,132)
#978495
(151,132,149)
#A898A6
(168,152,166)
#B9ACB7
(185,172,183)
#CAC0C8
(202,192,200)
#DBD4D9
(219,212,217)
#ECE8EA
(236,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #422040 color. Also use rgb(66,32,64) instead hex code.

Text Font Color

.myTextColor { color: #422040; }

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

This text font color is #422040.


Background Color

.myBgColor { background-color: #422040; }

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

This div background color is #422040.


Border color

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

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

This div border color is #422040.


Opacity

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

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

Text with #422040 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 #422040;}

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

This text has shadow with #422040 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #422040 on black background.


Color preview on white background

This text has color #422040 on white background.



Black color preview on #422040 background

This text has black color on #422040 background.


White color preview on #422040 background

This text has white color on #422040 background.