COLOR #5F798A

HEX: #5F798A
RGB: (95,121,138)

Color info

#5F798A contains red, green and blue colors in about the same proportion. Web safe color of #5F798A is #666699 (or #669).

RGB color model

#5F798A color RGB value is (95,121,138).

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

RGB channels and saturation

R 95 of 255 = 37%
G 121 of 255 = 47%
B 138 of 255 = 54%

95
121
138

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

Portions of RGB colors in percentages

R + G + B =
95 + 121 + 138 = 354 (100%)
R 95 of 354 ~ 26.84%
G 121 of 354 ~ 34.18%
B 138 of 354 ~ 38.98%

%26.84
%34.18
%38.98

CMYK color model

#5F798A color CMYK value is (31,12,0,46).

  • cyan value is 31.16%
  • magenta value is 12.32%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(31,12,0,46)
C31M12Y0K46 
(31%,12%,0%,46%)
(0.31/0.12/0.00/0.46)	

CMYK percentages

%31.16
%12.32
%0
%45.88

Codes

Color #5F798A in popluar color models

5F798A
RGB95121138
HSL204°18.45%45.69%
HSB/HSV204°31.16%54.12%
CMYK31.16%12.32%0.00%
45.88%

Color #5F798A in popluar number systems.

HEX5F798A
Decimal95121138
Binary1011111111100110001010
Octal137171212

Shades and tints

Shades of #5F798A

#5F798A
(95,121,138)
#576E7E
(87,110,126)
#4F6372
(79,99,114)
#475866
(71,88,102)
#3F4D5A
(63,77,90)
#37424E
(55,66,78)
#2F3742
(47,55,66)
#272C36
(39,44,54)
#1F212A
(31,33,42)
#17161E
(23,22,30)
#0F0B12
(15,11,18)
#000000
(0,0,0)

Tints of #5F798A

#5F798A
(95,121,138)
#6D8594
(109,133,148)
#7B919E
(123,145,158)
#899DA8
(137,157,168)
#97A9B2
(151,169,178)
#A5B5BC
(165,181,188)
#B3C1C6
(179,193,198)
#C1CDD0
(193,205,208)
#CFD9DA
(207,217,218)
#DDE5E4
(221,229,228)
#EBF1EE
(235,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F798A; }

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

This text font color is #5F798A.


Background Color

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

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

This div background color is #5F798A.


Border color

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

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

This div border color is #5F798A.


Opacity

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

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

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

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

This text has shadow with #5F798A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F798A on black background.


Color preview on white background

This text has color #5F798A on white background.



Black color preview on #5F798A background

This text has black color on #5F798A background.


White color preview on #5F798A background

This text has white color on #5F798A background.