COLOR #54798C

HEX: #54798C RGB: (84,121,140)

Color info

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

RGB color model

#54798C color RGB value is (84,121,140).

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

RGB channels and saturation

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

84
121
140

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

Portions of RGB colors in percentages

R + G + B = 84 + 121 + 140 = 345 (100%)
R 84 of 345 ~ 24.35%
G 121 of 345 ~ 35.07%
B 140 of 345 ~ 40.58'%

%24.35
%35.07
%40.58

CMYK color model

#54798C color CMYK value is (40,14,0,45).

  • cyan value is 40.00%
  • magenta value is 13.57%
  • yellow value is 0.00%
  • key color value is 45.10%

CMYK: (40,14,0,45)
C40M14Y0K45 (40%, 14%, 0%, 45%)
(0.40 / 0.14 / 0.00 / 0.45)

CMYK percentages

%40
%13.57
%0
%45.1

Codes

Color #54798C in popluar color models

54 79 8C
RGB 84 121 140
HSL 200° 25.00% 43.92%
HSB/HSV 200° 40.00% 54.90%
CMYK 40.00% 13.57% 0.00%
45.10%

Color #54798C in popluar number systems.

HEX 54 79 8C
Decimal 84 121 140
Binary 1010100 1111001 10001100
Octal 124 171 214

Shades and tints

Shades of #54798C

#54798C
(84,121,140)
#4D6E80
(77,110,128)
#466374
(70,99,116)
#3F5868
(63,88,104)
#384D5C
(56,77,92)
#314250
(49,66,80)
#2A3744
(42,55,68)
#232C38
(35,44,56)
#1C212C
(28,33,44)
#151620
(21,22,32)
#0E0B14
(14,11,20)
#000000
(0,0,0)

Tints of #54798C

#54798C
(84,121,140)
#638596
(99,133,150)
#7291A0
(114,145,160)
#819DAA
(129,157,170)
#90A9B4
(144,169,180)
#9FB5BE
(159,181,190)
#AEC1C8
(174,193,200)
#BDCDD2
(189,205,210)
#CCD9DC
(204,217,220)
#DBE5E6
(219,229,230)
#EAF1F0
(234,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #54798C; }

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

This text font color is #54798C.

Background Color

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

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

This div background color is #54798C.

Border color

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

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

This div border color is #54798C.

Opacity

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

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

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

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

This text has shadow with #54798C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #54798C.

Preview

Color preview on black background

This text has color #54798C on black background.


Color preview on white background

This text has color #54798C on white background.


Black color preview on #54798C background

This text has black color on #54798C background.


White color preview on #54798C background

This text has white color on #54798C background.


Related colors

Complementary color

Complementary color for #hex is #AB8673.


I love getcolorcode.com

Triadic colors

1 #8C5479 and #798C54 with #54798C are triadic colors.

2 #8C7954 and #79548C with #54798C are triadic colors.