COLOR #42215B

HEX: #42215B RGB: (66,33,91)

Color info

#42215B contains red, green and blue colors in about the same proportion. Web safe color of #42215B is #333366 (or #336).

RGB color model

#42215B color RGB value is (66,33,91).

RGB: (66,33,91) (26%, 13%, 36%)

RGB channels and saturation

R 66 of 255 = 26%
G 33 of 255 = 13%
B 91 of 255 = 36%

66
33
91

R + G + B ~ 25%. #42215B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 33 + 91 = 190 (100%)
R 66 of 190 ~ 34.74%
G 33 of 190 ~ 17.37%
B 91 of 190 ~ 47.89'%

%34.74
%17.37
%47.89

CMYK color model

#42215B color CMYK value is (27,64,0,64).

  • cyan value is 27.47%
  • magenta value is 63.74%
  • yellow value is 0.00%
  • key color value is 64.31%

CMYK: (27,64,0,64)
C27M64Y0K64 (27%, 64%, 0%, 64%)
(0.27 / 0.64 / 0.00 / 0.64)

CMYK percentages

%27.47
%63.74
%0
%64.31

Codes

Color #42215B in popluar color models

42 21 5B
RGB 66 33 91
HSL 274° 46.77% 24.31%
HSB/HSV 274° 63.74% 35.69%
CMYK 27.47% 63.74% 0.00%
64.31%

Color #42215B in popluar number systems.

HEX 42 21 5B
Decimal 66 33 91
Binary 1000010 100001 1011011
Octal 102 41 133

Shades and tints

Shades of #42215B

#42215B
(66,33,91)
#3C1E53
(60,30,83)
#361B4B
(54,27,75)
#301843
(48,24,67)
#2A153B
(42,21,59)
#241233
(36,18,51)
#1E0F2B
(30,15,43)
#180C23
(24,12,35)
#12091B
(18,9,27)
#0C0613
(12,6,19)
#06030B
(6,3,11)
#000000
(0,0,0)

Tints of #42215B

#42215B
(66,33,91)
#533569
(83,53,105)
#644977
(100,73,119)
#755D85
(117,93,133)
#867193
(134,113,147)
#9785A1
(151,133,161)
#A899AF
(168,153,175)
#B9ADBD
(185,173,189)
#CAC1CB
(202,193,203)
#DBD5D9
(219,213,217)
#ECE9E7
(236,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42215B color. Also use rgb(66,33,91) instead hex code.

Text Font Color

.myTextColor { color: #42215B; }

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

This text font color is #42215B.

Background Color

.myBgColor { background-color: #42215B; }

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

This div background color is #42215B.

Border color

.myBorderColor { border: 1px solid #42215B; }

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

This div border color is #42215B.

Opacity

.myOpacity80 { color: #42215B; opacity: 0.8; }

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

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

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

This text has shadow with #42215B color.


.textShadow {text-shadow: 3px 3px 1px #42215B', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42215B; -webkit-box-shadow: 1px 1px 3px 2px #42215B; box-shadow:1px 1px 3px 2px #42215B;">
Div content here
</div>

This div box has shadow with color #42215B.

Preview

Color preview on black background

This text has color #42215B on black background.


Color preview on white background

This text has color #42215B on white background.


Black color preview on #42215B background

This text has black color on #42215B background.


White color preview on #42215B background

This text has white color on #42215B background.


Related colors

Complementary color

Complementary color for #hex is #BDDEA4.


I love getcolorcode.com

Triadic colors

1 #5B4221 and #215B42 with #42215B are triadic colors.

2 #5B2142 and #21425B with #42215B are triadic colors.