COLOR #798498

HEX: #798498 RGB: (121,132,152)

Color info

#798498 contains red, green and blue colors in about the same proportion. Web safe color of #798498 is #669999 (or #699).

RGB color model

#798498 color RGB value is (121,132,152).

RGB: (121,132,152) (47%, 52%, 60%)

RGB channels and saturation

R 121 of 255 = 47%
G 132 of 255 = 52%
B 152 of 255 = 60%

121
132
152

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

Portions of RGB colors in percentages

R + G + B = 121 + 132 + 152 = 405 (100%)
R 121 of 405 ~ 29.88%
G 132 of 405 ~ 32.59%
B 152 of 405 ~ 37.53'%

%29.88
%32.59
%37.53

CMYK color model

#798498 color CMYK value is (20,13,0,40).

  • cyan value is 20.39%
  • magenta value is 13.16%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (20,13,0,40)
C20M13Y0K40 (20%, 13%, 0%, 40%)
(0.20 / 0.13 / 0.00 / 0.40)

CMYK percentages

%20.39
%13.16
%0
%40.39

Codes

Color #798498 in popluar color models

79 84 98
RGB 121 132 152
HSL 219° 13.08% 53.53%
HSB/HSV 219° 20.39% 59.61%
CMYK 20.39% 13.16% 0.00%
40.39%

Color #798498 in popluar number systems.

HEX 79 84 98
Decimal 121 132 152
Binary 1111001 10000100 10011000
Octal 171 204 230

Shades and tints

Shades of #798498

#798498
(121,132,152)
#6E788B
(110,120,139)
#636C7E
(99,108,126)
#586071
(88,96,113)
#4D5464
(77,84,100)
#424857
(66,72,87)
#373C4A
(55,60,74)
#2C303D
(44,48,61)
#212430
(33,36,48)
#161823
(22,24,35)
#0B0C16
(11,12,22)
#000000
(0,0,0)

Tints of #798498

#798498
(121,132,152)
#858FA1
(133,143,161)
#919AAA
(145,154,170)
#9DA5B3
(157,165,179)
#A9B0BC
(169,176,188)
#B5BBC5
(181,187,197)
#C1C6CE
(193,198,206)
#CDD1D7
(205,209,215)
#D9DCE0
(217,220,224)
#E5E7E9
(229,231,233)
#F1F2F2
(241,242,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #798498 color. Also use rgb(121,132,152) instead hex code.

Text Font Color

.myTextColor { color: #798498; }

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

This text font color is #798498.

Background Color

.myBgColor { background-color: #798498; }

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

This div background color is #798498.

Border color

.myBorderColor { border: 1px solid #798498; }

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

This div border color is #798498.

Opacity

.myOpacity80 { color: #798498; opacity: 0.8; }

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

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

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

This text has shadow with #798498 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #798498.

Preview

Color preview on black background

This text has color #798498 on black background.


Color preview on white background

This text has color #798498 on white background.


Black color preview on #798498 background

This text has black color on #798498 background.


White color preview on #798498 background

This text has white color on #798498 background.


Related colors

Complementary color

Complementary color for #hex is #867B67.


I love getcolorcode.com

Triadic colors

1 #987984 and #849879 with #798498 are triadic colors.

2 #988479 and #847998 with #798498 are triadic colors.