COLOR #42396C

HEX: #42396C
RGB: (66,57,108)

Color info

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

RGB color model

#42396C color RGB value is (66,57,108).

  • red value is 66;
  • green value is 57;
  • blue value is 108.
RGB:
(66,57,108)
(26%,22%,42%)

RGB channels and saturation

R 66 of 255 = 26%
G 57 of 255 = 22%
B 108 of 255 = 42%

66
57
108

R + G + B ~ 30%. #42396C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 57 + 108 = 231 (100%)
R 66 of 231 ~ 28.57%
G 57 of 231 ~ 24.68%
B 108 of 231 ~ 46.75%

%28.57
%24.68
%46.75

CMYK color model

#42396C color CMYK value is (39,47,0,58).

  • cyan value is 38.89%
  • magenta value is 47.22%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(39,47,0,58)
C39M47Y0K58 
(39%,47%,0%,58%)
(0.39/0.47/0.00/0.58)	

CMYK percentages

%38.89
%47.22
%0
%57.65

Codes

Color #42396C in popluar color models

42396C
RGB6657108
HSL251°30.91%32.35%
HSB/HSV251°47.22%42.35%
CMYK38.89%47.22%0.00%
57.65%

Color #42396C in popluar number systems.

HEX42396C
Decimal6657108
Binary10000101110011101100
Octal10271154

Shades and tints

Shades of #42396C

#42396C
(66,57,108)
#3C3463
(60,52,99)
#362F5A
(54,47,90)
#302A51
(48,42,81)
#2A2548
(42,37,72)
#24203F
(36,32,63)
#1E1B36
(30,27,54)
#18162D
(24,22,45)
#121124
(18,17,36)
#0C0C1B
(12,12,27)
#060712
(6,7,18)
#000000
(0,0,0)

Tints of #42396C

#42396C
(66,57,108)
#534B79
(83,75,121)
#645D86
(100,93,134)
#756F93
(117,111,147)
#8681A0
(134,129,160)
#9793AD
(151,147,173)
#A8A5BA
(168,165,186)
#B9B7C7
(185,183,199)
#CAC9D4
(202,201,212)
#DBDBE1
(219,219,225)
#ECEDEE
(236,237,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42396C color. Also use rgb(66,57,108) instead hex code.

Text Font Color

.myTextColor { color: #42396C; }

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

This text font color is #42396C.


Background Color

.myBgColor { background-color: #42396C; }

<div style="background-color:#42396C">Inner text</div>

This div background color is #42396C.


Border color

.myBorderColor { border: 1px solid #42396C; }

<div style="border:3px solid #42396C">Div</div>

This div border color is #42396C.


Opacity

.myOpacity80 { color: #42396C; opacity: 0.8; }

<p style="color:#42396C;opacity:0.8;">80%</p>

Text with #42396C 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 #42396C;}

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

This text has shadow with #42396C color.

.textShadow {text-shadow: 3px 3px 1px #42396C, 3px 3px 1px red;}

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

This text has shadow with #42396C primary color and red secondary color.


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

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

This text has shadow with #42396C and red colors in old Internet Explorer.


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42396C;
-webkit-box-shadow: 1px 1px 3px 2px #42396C;
box-shadow:1px 1px 3px 2px #42396C;">
Div content here</div>
This div box has shadow with color #42396C.

Preview

Color preview on black background

This text has color #42396C on black background.


Color preview on white background

This text has color #42396C on white background.



Black color preview on #42396C background

This text has black color on #42396C background.


White color preview on #42396C background

This text has white color on #42396C background.