COLOR #5F5979

HEX: #5F5979
RGB: (95,89,121)

Color info

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

RGB color model

#5F5979 color RGB value is (95,89,121).

  • red value is 95;
  • green value is 89;
  • blue value is 121.
RGB:
(95,89,121)
(37%,35%,47%)

RGB channels and saturation

R 95 of 255 = 37%
G 89 of 255 = 35%
B 121 of 255 = 47%

95
89
121

R + G + B ~ 40%. #5F5979 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
95 + 89 + 121 = 305 (100%)
R 95 of 305 ~ 31.15%
G 89 of 305 ~ 29.18%
B 121 of 305 ~ 39.67%

%31.15
%29.18
%39.67

CMYK color model

#5F5979 color CMYK value is (21,26,0,53).

  • cyan value is 21.49%
  • magenta value is 26.45%
  • yellow value is 0.00%
  • key color value is 52.55%
CMYK:
(21,26,0,53)
C21M26Y0K53 
(21%,26%,0%,53%)
(0.21/0.26/0.00/0.53)	

CMYK percentages

%21.49
%26.45
%0
%52.55

Codes

Color #5F5979 in popluar color models

5F5979
RGB9589121
HSL251°15.24%41.18%
HSB/HSV251°26.45%47.45%
CMYK21.49%26.45%0.00%
52.55%

Color #5F5979 in popluar number systems.

HEX5F5979
Decimal9589121
Binary101111110110011111001
Octal137131171

Shades and tints

Shades of #5F5979

#5F5979
(95,89,121)
#57516E
(87,81,110)
#4F4963
(79,73,99)
#474158
(71,65,88)
#3F394D
(63,57,77)
#373142
(55,49,66)
#2F2937
(47,41,55)
#27212C
(39,33,44)
#1F1921
(31,25,33)
#171116
(23,17,22)
#0F090B
(15,9,11)
#000000
(0,0,0)

Tints of #5F5979

#5F5979
(95,89,121)
#6D6885
(109,104,133)
#7B7791
(123,119,145)
#89869D
(137,134,157)
#9795A9
(151,149,169)
#A5A4B5
(165,164,181)
#B3B3C1
(179,179,193)
#C1C2CD
(193,194,205)
#CFD1D9
(207,209,217)
#DDE0E5
(221,224,229)
#EBEFF1
(235,239,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F5979 color. Also use rgb(95,89,121) instead hex code.

Text Font Color

.myTextColor { color: #5F5979; }

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

This text font color is #5F5979.


Background Color

.myBgColor { background-color: #5F5979; }

<div style="background-color:#5F5979">Inner text</div>

This div background color is #5F5979.


Border color

.myBorderColor { border: 1px solid #5F5979; }

<div style="border:3px solid #5F5979">Div</div>

This div border color is #5F5979.


Opacity

.myOpacity80 { color: #5F5979; opacity: 0.8; }

<p style="color:#5F5979;opacity:0.8;">80%</p>

Text with #5F5979 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 #5F5979;}

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

This text has shadow with #5F5979 color.

.textShadow {text-shadow: 3px 3px 1px #5F5979, 3px 3px 1px red;}

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

This text has shadow with #5F5979 primary color and red secondary color.


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

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

This text has shadow with #5F5979 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F5979 on black background.


Color preview on white background

This text has color #5F5979 on white background.



Black color preview on #5F5979 background

This text has black color on #5F5979 background.


White color preview on #5F5979 background

This text has white color on #5F5979 background.