COLOR #54798B

HEX: #54798B RGB: (84,121,139)

Color info

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

RGB color model

#54798B color RGB value is (84,121,139).

RGB: (84,121,139) (33%, 47%, 55%)

RGB channels and saturation

R 84 of 255 = 33%
G 121 of 255 = 47%
B 139 of 255 = 55%

84
121
139

R + G + B ~ 45%. #54798B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 84 + 121 + 139 = 344 (100%)
R 84 of 344 ~ 24.42%
G 121 of 344 ~ 35.17%
B 139 of 344 ~ 40.41'%

%24.42
%35.17
%40.41

CMYK color model

#54798B color CMYK value is (40,13,0,45).

  • cyan value is 39.57%
  • magenta value is 12.95%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (40,13,0,45)
C40M13Y0K45 (40%, 13%, 0%, 45%)
(0.40 / 0.13 / 0.00 / 0.45)

CMYK percentages

%39.57
%12.95
%0
%45.49

Codes

Color #54798B in popluar color models

54 79 8B
RGB 84 121 139
HSL 200° 24.66% 43.73%
HSB/HSV 200° 39.57% 54.51%
CMYK 39.57% 12.95% 0.00%
45.49%

Color #54798B in popluar number systems.

HEX 54 79 8B
Decimal 84 121 139
Binary 1010100 1111001 10001011
Octal 124 171 213

Shades and tints

Shades of #54798B

#54798B
(84,121,139)
#4D6E7F
(77,110,127)
#466373
(70,99,115)
#3F5867
(63,88,103)
#384D5B
(56,77,91)
#31424F
(49,66,79)
#2A3743
(42,55,67)
#232C37
(35,44,55)
#1C212B
(28,33,43)
#15161F
(21,22,31)
#0E0B13
(14,11,19)
#000000
(0,0,0)

Tints of #54798B

#54798B
(84,121,139)
#638595
(99,133,149)
#72919F
(114,145,159)
#819DA9
(129,157,169)
#90A9B3
(144,169,179)
#9FB5BD
(159,181,189)
#AEC1C7
(174,193,199)
#BDCDD1
(189,205,209)
#CCD9DB
(204,217,219)
#DBE5E5
(219,229,229)
#EAF1EF
(234,241,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #54798B color. Also use rgb(84,121,139) instead hex code.

Text Font Color

.myTextColor { color: #54798B; }

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

This text font color is #54798B.

Background Color

.myBgColor { background-color: #54798B; }

<div style="background-color:#54798B">Inner text</div>

This div background color is #54798B.

Border color

.myBorderColor { border: 1px solid #54798B; }

<div style="border:3px solid #54798B">Div</div>

This div border color is #54798B.

Opacity

.myOpacity80 { color: #54798B; opacity: 0.8; }

<p style="color:#54798B;opacity:0.8;">80%</p>

Text with #54798B 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 #54798B;}

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

This text has shadow with #54798B color.


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

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

This text has shadow with #54798B primary color and red secondary color.


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

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

This text has shadow with #54798B and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #54798B.

Preview

Color preview on black background

This text has color #54798B on black background.


Color preview on white background

This text has color #54798B on white background.


Black color preview on #54798B background

This text has black color on #54798B background.


White color preview on #54798B background

This text has white color on #54798B background.


Related colors

Complementary color

Complementary color for #hex is #AB8674.


I love getcolorcode.com

Triadic colors

1 #8B5479 and #798B54 with #54798B are triadic colors.

2 #8B7954 and #79548B with #54798B are triadic colors.