COLOR #42487F

HEX: #42487F RGB: (66,72,127)

Color info

#42487F contains mainly green and blue colors. Web safe color of #42487F is #333366 (or #336).

RGB color model

#42487F color RGB value is (66,72,127).

RGB: (66,72,127) (26%, 28%, 50%)

RGB channels and saturation

R 66 of 255 = 26%
G 72 of 255 = 28%
B 127 of 255 = 50%

66
72
127

R + G + B ~ 35%. #42487F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 72 + 127 = 265 (100%)
R 66 of 265 ~ 24.91%
G 72 of 265 ~ 27.17%
B 127 of 265 ~ 47.92'%

%24.91
%27.17
%47.92

CMYK color model

#42487F color CMYK value is (48,43,0,50).

  • cyan value is 48.03%
  • magenta value is 43.31%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK: (48,43,0,50) C48M43Y0K50 (48%,43%,0%,50%) (0.48/0.43/0.00/0.50) 

CMYK percentages

%48.03
%43.31
%0
%50.2

Codes

Color #42487F in popluar color models

42 48 7F
RGB 66 72 127
HSL 234° 31.61% 37.84%
HSB/HSV 234° 48.03% 49.80%
CMYK 48.03% 43.31% 0.00%
50.20%

Color #42487F in popluar number systems.

HEX 42 48 7F
Decimal 66 72 127
Binary 1000010 1001000 1111111
Octal 102 110 177

Shades and tints

Shades of #42487F

#42487F
(66,72,127)
#3C4274
(60,66,116)
#363C69
(54,60,105)
#30365E
(48,54,94)
#2A3053
(42,48,83)
#242A48
(36,42,72)
#1E243D
(30,36,61)
#181E32
(24,30,50)
#121827
(18,24,39)
#0C121C
(12,18,28)
#060C11
(6,12,17)
#000000
(0,0,0)

Tints of #42487F

#42487F
(66,72,127)
#53588A
(83,88,138)
#646895
(100,104,149)
#7578A0
(117,120,160)
#8688AB
(134,136,171)
#9798B6
(151,152,182)
#A8A8C1
(168,168,193)
#B9B8CC
(185,184,204)
#CAC8D7
(202,200,215)
#DBD8E2
(219,216,226)
#ECE8ED
(236,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42487F; }

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

This text font color is #42487F.

Background Color

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

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

This div background color is #42487F.

Border color

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

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

This div border color is #42487F.

Opacity

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

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

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

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

This text has shadow with #42487F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42487F.

Preview

Color preview on black background

This text has color #42487F on black background.


Color preview on white background

This text has color #42487F on white background.


Black color preview on #42487F background

This text has black color on #42487F background.


White color preview on #42487F background

This text has white color on #42487F background.


Related colors

Complementary color

Complementary color for #hex is #BDB780.


I love getcolorcode.com

Triadic colors

1 #7F4248 and #487F42 with #42487F are triadic colors.

2 #7F4842 and #48427F with #42487F are triadic colors.