COLOR #42397A

HEX: #42397A RGB: (66,57,122)

Color info

#42397A contains mainly red and blue colors. Web safe color of #42397A is #333366 (or #336).

RGB color model

#42397A color RGB value is (66,57,122).

RGB: (66,57,122) (26%, 22%, 48%)

RGB channels and saturation

R 66 of 255 = 26%
G 57 of 255 = 22%
B 122 of 255 = 48%

66
57
122

R + G + B ~ 32%. #42397A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 57 + 122 = 245 (100%)
R 66 of 245 ~ 26.94%
G 57 of 245 ~ 23.27%
B 122 of 245 ~ 49.8'%

%26.94
%23.27
%49.8

CMYK color model

#42397A color CMYK value is (46,53,0,52).

  • cyan value is 45.90%
  • magenta value is 53.28%
  • yellow value is 0.00%
  • key color value is 52.16%

CMYK: (46,53,0,52)
C46M53Y0K52 (46%, 53%, 0%, 52%)
(0.46 / 0.53 / 0.00 / 0.52)

CMYK percentages

%45.9
%53.28
%0
%52.16

Codes

Color #42397A in popluar color models

42 39 7A
RGB 66 57 122
HSL 248° 36.31% 35.10%
HSB/HSV 248° 53.28% 47.84%
CMYK 45.90% 53.28% 0.00%
52.16%

Color #42397A in popluar number systems.

HEX 42 39 7A
Decimal 66 57 122
Binary 1000010 111001 1111010
Octal 102 71 172

Shades and tints

Shades of #42397A

#42397A
(66,57,122)
#3C346F
(60,52,111)
#362F64
(54,47,100)
#302A59
(48,42,89)
#2A254E
(42,37,78)
#242043
(36,32,67)
#1E1B38
(30,27,56)
#18162D
(24,22,45)
#121122
(18,17,34)
#0C0C17
(12,12,23)
#06070C
(6,7,12)
#000000
(0,0,0)

Tints of #42397A

#42397A
(66,57,122)
#534B86
(83,75,134)
#645D92
(100,93,146)
#756F9E
(117,111,158)
#8681AA
(134,129,170)
#9793B6
(151,147,182)
#A8A5C2
(168,165,194)
#B9B7CE
(185,183,206)
#CAC9DA
(202,201,218)
#DBDBE6
(219,219,230)
#ECEDF2
(236,237,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42397A color. Also use rgb(66,57,122) instead hex code.

Text Font Color

.myTextColor { color: #42397A; }

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

This text font color is #42397A.

Background Color

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

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

This div background color is #42397A.

Border color

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

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

This div border color is #42397A.

Opacity

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

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

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

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

This text has shadow with #42397A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42397A.

Preview

Color preview on black background

This text has color #42397A on black background.


Color preview on white background

This text has color #42397A on white background.


Black color preview on #42397A background

This text has black color on #42397A background.


White color preview on #42397A background

This text has white color on #42397A background.


Related colors

Complementary color

Complementary color for #hex is #BDC685.


I love getcolorcode.com

Triadic colors

1 #7A4239 and #397A42 with #42397A are triadic colors.

2 #7A3942 and #39427A with #42397A are triadic colors.