COLOR #4F5A7F

HEX: #4F5A7F
RGB: (79,90,127)

Color info

#4F5A7F contains red, green and blue colors in about the same proportion. Web safe color of #4F5A7F is #666666 (or #666).

RGB color model

#4F5A7F color RGB value is (79,90,127).

  • red value is 79;
  • green value is 90;
  • blue value is 127.
RGB:
(79,90,127)
(31%,35%,50%)

RGB channels and saturation

R 79 of 255 = 31%
G 90 of 255 = 35%
B 127 of 255 = 50%

79
90
127

R + G + B ~ 39%. #4F5A7F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
79 + 90 + 127 = 296 (100%)
R 79 of 296 ~ 26.69%
G 90 of 296 ~ 30.41%
B 127 of 296 ~ 42.91%

%26.69
%30.41
%42.91

CMYK color model

#4F5A7F color CMYK value is (38,29,0,50).

  • cyan value is 37.80%
  • magenta value is 29.13%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(38,29,0,50)
C38M29Y0K50 
(38%,29%,0%,50%)
(0.38/0.29/0.00/0.50)	

CMYK percentages

%37.8
%29.13
%0
%50.2

Codes

Color #4F5A7F in popluar color models

4F5A7F
RGB7990127
HSL226°23.30%40.39%
HSB/HSV226°37.80%49.80%
CMYK37.80%29.13%0.00%
50.20%

Color #4F5A7F in popluar number systems.

HEX4F5A7F
Decimal7990127
Binary100111110110101111111
Octal117132177

Shades and tints

Shades of #4F5A7F

#4F5A7F
(79,90,127)
#485274
(72,82,116)
#414A69
(65,74,105)
#3A425E
(58,66,94)
#333A53
(51,58,83)
#2C3248
(44,50,72)
#252A3D
(37,42,61)
#1E2232
(30,34,50)
#171A27
(23,26,39)
#10121C
(16,18,28)
#090A11
(9,10,17)
#000000
(0,0,0)

Tints of #4F5A7F

#4F5A7F
(79,90,127)
#5F698A
(95,105,138)
#6F7895
(111,120,149)
#7F87A0
(127,135,160)
#8F96AB
(143,150,171)
#9FA5B6
(159,165,182)
#AFB4C1
(175,180,193)
#BFC3CC
(191,195,204)
#CFD2D7
(207,210,215)
#DFE1E2
(223,225,226)
#EFF0ED
(239,240,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4F5A7F color. Also use rgb(79,90,127) instead hex code.

Text Font Color

.myTextColor { color: #4F5A7F; }

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

This text font color is #4F5A7F.


Background Color

.myBgColor { background-color: #4F5A7F; }

<div style="background-color:#4F5A7F">Inner text</div>

This div background color is #4F5A7F.


Border color

.myBorderColor { border: 1px solid #4F5A7F; }

<div style="border:3px solid #4F5A7F">Div</div>

This div border color is #4F5A7F.


Opacity

.myOpacity80 { color: #4F5A7F; opacity: 0.8; }

<p style="color:#4F5A7F;opacity:0.8;">80%</p>

Text with #4F5A7F 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 #4F5A7F;}

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

This text has shadow with #4F5A7F color.

.textShadow {text-shadow: 3px 3px 1px #4F5A7F, 3px 3px 1px red;}

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

This text has shadow with #4F5A7F primary color and red secondary color.


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

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

This text has shadow with #4F5A7F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4F5A7F on black background.


Color preview on white background

This text has color #4F5A7F on white background.



Black color preview on #4F5A7F background

This text has black color on #4F5A7F background.


White color preview on #4F5A7F background

This text has white color on #4F5A7F background.