COLOR #42405D

HEX: #42405D
RGB: (66,64,93)

Color info

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

RGB color model

#42405D color RGB value is (66,64,93).

  • red value is 66;
  • green value is 64;
  • blue value is 93.
RGB:
(66,64,93)
(26%,25%,36%)

RGB channels and saturation

R 66 of 255 = 26%
G 64 of 255 = 25%
B 93 of 255 = 36%

66
64
93

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

Portions of RGB colors in percentages

R + G + B =
66 + 64 + 93 = 223 (100%)
R 66 of 223 ~ 29.6%
G 64 of 223 ~ 28.7%
B 93 of 223 ~ 41.7%

%29.6
%28.7
%41.7

CMYK color model

#42405D color CMYK value is (29,31,0,64).

  • cyan value is 29.03%
  • magenta value is 31.18%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(29,31,0,64)
C29M31Y0K64 
(29%,31%,0%,64%)
(0.29/0.31/0.00/0.64)	

CMYK percentages

%29.03
%31.18
%0
%63.53

Codes

Color #42405D in popluar color models

42405D
RGB666493
HSL244°18.47%30.78%
HSB/HSV244°31.18%36.47%
CMYK29.03%31.18%0.00%
63.53%

Color #42405D in popluar number systems.

HEX42405D
Decimal666493
Binary100001010000001011101
Octal102100135

Shades and tints

Shades of #42405D

#42405D
(66,64,93)
#3C3B55
(60,59,85)
#36364D
(54,54,77)
#303145
(48,49,69)
#2A2C3D
(42,44,61)
#242735
(36,39,53)
#1E222D
(30,34,45)
#181D25
(24,29,37)
#12181D
(18,24,29)
#0C1315
(12,19,21)
#060E0D
(6,14,13)
#000000
(0,0,0)

Tints of #42405D

#42405D
(66,64,93)
#53516B
(83,81,107)
#646279
(100,98,121)
#757387
(117,115,135)
#868495
(134,132,149)
#9795A3
(151,149,163)
#A8A6B1
(168,166,177)
#B9B7BF
(185,183,191)
#CAC8CD
(202,200,205)
#DBD9DB
(219,217,219)
#ECEAE9
(236,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42405D; }

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

This text font color is #42405D.


Background Color

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

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

This div background color is #42405D.


Border color

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

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

This div border color is #42405D.


Opacity

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

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

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

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

This text has shadow with #42405D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42405D on black background.


Color preview on white background

This text has color #42405D on white background.



Black color preview on #42405D background

This text has black color on #42405D background.


White color preview on #42405D background

This text has white color on #42405D background.