COLOR #42387F

HEX: #42387F
RGB: (66,56,127)

Color info

#42387F contains mainly blue color. Web safe color of #42387F is #333366 (or #336).

RGB color model

#42387F color RGB value is (66,56,127).

  • red value is 66;
  • green value is 56;
  • blue value is 127.
RGB:
(66,56,127)
(26%,22%,50%)

RGB channels and saturation

R 66 of 255 = 26%
G 56 of 255 = 22%
B 127 of 255 = 50%

66
56
127

R + G + B ~ 33%. #42387F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 56 + 127 = 249 (100%)
R 66 of 249 ~ 26.51%
G 56 of 249 ~ 22.49%
B 127 of 249 ~ 51%

%26.51
%22.49
%51

CMYK color model

#42387F color CMYK value is (48,56,0,50).

  • cyan value is 48.03%
  • magenta value is 55.91%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(48,56,0,50)
C48M56Y0K50 
(48%,56%,0%,50%)
(0.48/0.56/0.00/0.50)	

CMYK percentages

%48.03
%55.91
%0
%50.2

Codes

Color #42387F in popluar color models

42387F
RGB6656127
HSL248°38.80%35.88%
HSB/HSV248°55.91%49.80%
CMYK48.03%55.91%0.00%
50.20%

Color #42387F in popluar number systems.

HEX42387F
Decimal6656127
Binary10000101110001111111
Octal10270177

Shades and tints

Shades of #42387F

#42387F
(66,56,127)
#3C3374
(60,51,116)
#362E69
(54,46,105)
#30295E
(48,41,94)
#2A2453
(42,36,83)
#241F48
(36,31,72)
#1E1A3D
(30,26,61)
#181532
(24,21,50)
#121027
(18,16,39)
#0C0B1C
(12,11,28)
#060611
(6,6,17)
#000000
(0,0,0)

Tints of #42387F

#42387F
(66,56,127)
#534A8A
(83,74,138)
#645C95
(100,92,149)
#756EA0
(117,110,160)
#8680AB
(134,128,171)
#9792B6
(151,146,182)
#A8A4C1
(168,164,193)
#B9B6CC
(185,182,204)
#CAC8D7
(202,200,215)
#DBDAE2
(219,218,226)
#ECECED
(236,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42387F color. Also use rgb(66,56,127) instead hex code.

Text Font Color

.myTextColor { color: #42387F; }

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

This text font color is #42387F.


Background Color

.myBgColor { background-color: #42387F; }

<div style="background-color:#42387F">Inner text</div>

This div background color is #42387F.


Border color

.myBorderColor { border: 1px solid #42387F; }

<div style="border:3px solid #42387F">Div</div>

This div border color is #42387F.


Opacity

.myOpacity80 { color: #42387F; opacity: 0.8; }

<p style="color:#42387F;opacity:0.8;">80%</p>

Text with #42387F 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 #42387F;}

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

This text has shadow with #42387F color.

.textShadow {text-shadow: 3px 3px 1px #42387F, 3px 3px 1px red;}

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

This text has shadow with #42387F primary color and red secondary color.


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

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

This text has shadow with #42387F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42387F on black background.


Color preview on white background

This text has color #42387F on white background.



Black color preview on #42387F background

This text has black color on #42387F background.


White color preview on #42387F background

This text has white color on #42387F background.