COLOR #42429E

HEX: #42429E RGB: (66,66,158)

Color info

#42429E contains mainly blue color. Web safe color of #42429E is #333399 (or #339).

RGB color model

#42429E color RGB value is (66,66,158).

RGB: (66,66,158) (26%, 26%, 62%)

RGB channels and saturation

R 66 of 255 = 26%
G 66 of 255 = 26%
B 158 of 255 = 62%

66
66
158

R + G + B ~ 38%. #42429E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 66 + 158 = 290 (100%)
R 66 of 290 ~ 22.76%
G 66 of 290 ~ 22.76%
B 158 of 290 ~ 54.48'%

%22.76
%22.76
%54.48

CMYK color model

#42429E color CMYK value is (58,58,0,38).

  • cyan value is 58.23%
  • magenta value is 58.23%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK: (58,58,0,38) C58M58Y0K38 (58%,58%,0%,38%) (0.58/0.58/0.00/0.38) 

CMYK percentages

%58.23
%58.23
%0
%38.04

Codes

Color #42429E in popluar color models

42 42 9E
RGB 66 66 158
HSL 240° 41.07% 43.92%
HSB/HSV 240° 58.23% 61.96%
CMYK 58.23% 58.23% 0.00%
38.04%

Color #42429E in popluar number systems.

HEX 42 42 9E
Decimal 66 66 158
Binary 1000010 1000010 10011110
Octal 102 102 236

Shades and tints

Shades of #42429E

#42429E
(66,66,158)
#3C3C90
(60,60,144)
#363682
(54,54,130)
#303074
(48,48,116)
#2A2A66
(42,42,102)
#242458
(36,36,88)
#1E1E4A
(30,30,74)
#18183C
(24,24,60)
#12122E
(18,18,46)
#0C0C20
(12,12,32)
#060612
(6,6,18)
#000000
(0,0,0)

Tints of #42429E

#42429E
(66,66,158)
#5353A6
(83,83,166)
#6464AE
(100,100,174)
#7575B6
(117,117,182)
#8686BE
(134,134,190)
#9797C6
(151,151,198)
#A8A8CE
(168,168,206)
#B9B9D6
(185,185,214)
#CACADE
(202,202,222)
#DBDBE6
(219,219,230)
#ECECEE
(236,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42429E; }

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

This text font color is #42429E.

Background Color

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

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

This div background color is #42429E.

Border color

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

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

This div border color is #42429E.

Opacity

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

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

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

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

This text has shadow with #42429E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42429E.

Preview

Color preview on black background

This text has color #42429E on black background.


Color preview on white background

This text has color #42429E on white background.


Black color preview on #42429E background

This text has black color on #42429E background.


White color preview on #42429E background

This text has white color on #42429E background.


Related colors

Complementary color

Complementary color for #hex is #BDBD61.


I love getcolorcode.com