COLOR #42406E

HEX: #42406E RGB: (66,64,110)

Color info

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

RGB color model

#42406E color RGB value is (66,64,110).

RGB: (66,64,110) (26%, 25%, 43%)

RGB channels and saturation

R 66 of 255 = 26%
G 64 of 255 = 25%
B 110 of 255 = 43%

66
64
110

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

Portions of RGB colors in percentages

R + G + B = 66 + 64 + 110 = 240 (100%)
R 66 of 240 ~ 27.5%
G 64 of 240 ~ 26.67%
B 110 of 240 ~ 45.83'%

%27.5
%26.67
%45.83

CMYK color model

#42406E color CMYK value is (40,42,0,57).

  • cyan value is 40.00%
  • magenta value is 41.82%
  • yellow value is 0.00%
  • key color value is 56.86%

CMYK: (40,42,0,57)
C40M42Y0K57 (40%, 42%, 0%, 57%)
(0.40 / 0.42 / 0.00 / 0.57)

CMYK percentages

%40
%41.82
%0
%56.86

Codes

Color #42406E in popluar color models

42 40 6E
RGB 66 64 110
HSL 243° 26.44% 34.12%
HSB/HSV 243° 41.82% 43.14%
CMYK 40.00% 41.82% 0.00%
56.86%

Color #42406E in popluar number systems.

HEX 42 40 6E
Decimal 66 64 110
Binary 1000010 1000000 1101110
Octal 102 100 156

Shades and tints

Shades of #42406E

#42406E
(66,64,110)
#3C3B64
(60,59,100)
#36365A
(54,54,90)
#303150
(48,49,80)
#2A2C46
(42,44,70)
#24273C
(36,39,60)
#1E2232
(30,34,50)
#181D28
(24,29,40)
#12181E
(18,24,30)
#0C1314
(12,19,20)
#060E0A
(6,14,10)
#000000
(0,0,0)

Tints of #42406E

#42406E
(66,64,110)
#53517B
(83,81,123)
#646288
(100,98,136)
#757395
(117,115,149)
#8684A2
(134,132,162)
#9795AF
(151,149,175)
#A8A6BC
(168,166,188)
#B9B7C9
(185,183,201)
#CAC8D6
(202,200,214)
#DBD9E3
(219,217,227)
#ECEAF0
(236,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42406E; }

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

This text font color is #42406E.

Background Color

.myBgColor { background-color: #42406E; }

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

This div background color is #42406E.

Border color

.myBorderColor { border: 1px solid #42406E; }

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

This div border color is #42406E.

Opacity

.myOpacity80 { color: #42406E; opacity: 0.8; }

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

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

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

This text has shadow with #42406E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42406E.

Preview

Color preview on black background

This text has color #42406E on black background.


Color preview on white background

This text has color #42406E on white background.


Black color preview on #42406E background

This text has black color on #42406E background.


White color preview on #42406E background

This text has white color on #42406E background.


Related colors

Complementary color

Complementary color for #hex is #BDBF91.


I love getcolorcode.com

Triadic colors

1 #6E4240 and #406E42 with #42406E are triadic colors.

2 #6E4042 and #40426E with #42406E are triadic colors.