COLOR #42405A

HEX: #42405A RGB: (66,64,90)

Color info

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

RGB color model

#42405A color RGB value is (66,64,90).

RGB: (66,64,90) (26%, 25%, 35%)

RGB channels and saturation

R 66 of 255 = 26%
G 64 of 255 = 25%
B 90 of 255 = 35%

66
64
90

R + G + B ~ 29%. #42405A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 64 + 90 = 220 (100%)
R 66 of 220 ~ 30%
G 64 of 220 ~ 29.09%
B 90 of 220 ~ 40.91'%

%30
%29.09
%40.91

CMYK color model

#42405A color CMYK value is (27,29,0,65).

  • cyan value is 26.67%
  • magenta value is 28.89%
  • yellow value is 0.00%
  • key color value is 64.71%

CMYK: (27,29,0,65)
C27M29Y0K65 (27%, 29%, 0%, 65%)
(0.27 / 0.29 / 0.00 / 0.65)

CMYK percentages

%26.67
%28.89
%0
%64.71

Codes

Color #42405A in popluar color models

42 40 5A
RGB 66 64 90
HSL 245° 16.88% 30.20%
HSB/HSV 245° 28.89% 35.29%
CMYK 26.67% 28.89% 0.00%
64.71%

Color #42405A in popluar number systems.

HEX 42 40 5A
Decimal 66 64 90
Binary 1000010 1000000 1011010
Octal 102 100 132

Shades and tints

Shades of #42405A

#42405A
(66,64,90)
#3C3B52
(60,59,82)
#36364A
(54,54,74)
#303142
(48,49,66)
#2A2C3A
(42,44,58)
#242732
(36,39,50)
#1E222A
(30,34,42)
#181D22
(24,29,34)
#12181A
(18,24,26)
#0C1312
(12,19,18)
#060E0A
(6,14,10)
#000000
(0,0,0)

Tints of #42405A

#42405A
(66,64,90)
#535169
(83,81,105)
#646278
(100,98,120)
#757387
(117,115,135)
#868496
(134,132,150)
#9795A5
(151,149,165)
#A8A6B4
(168,166,180)
#B9B7C3
(185,183,195)
#CAC8D2
(202,200,210)
#DBD9E1
(219,217,225)
#ECEAF0
(236,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42405A; }

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

This text font color is #42405A.

Background Color

.myBgColor { background-color: #42405A; }

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

This div background color is #42405A.

Border color

.myBorderColor { border: 1px solid #42405A; }

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

This div border color is #42405A.

Opacity

.myOpacity80 { color: #42405A; opacity: 0.8; }

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

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

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

This text has shadow with #42405A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42405A.

Preview

Color preview on black background

This text has color #42405A on black background.


Color preview on white background

This text has color #42405A on white background.


Black color preview on #42405A background

This text has black color on #42405A background.


White color preview on #42405A background

This text has white color on #42405A background.


Related colors

Complementary color

Complementary color for #hex is #BDBFA5.


I love getcolorcode.com

Triadic colors

1 #5A4240 and #405A42 with #42405A are triadic colors.

2 #5A4042 and #40425A with #42405A are triadic colors.