COLOR #796CA5

HEX: #796CA5
RGB: (121,108,165)

Color info

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

RGB color model

#796CA5 color RGB value is (121,108,165).

  • red value is 121;
  • green value is 108;
  • blue value is 165.
RGB:
(121,108,165)
(47%,42%,65%)

RGB channels and saturation

R 121 of 255 = 47%
G 108 of 255 = 42%
B 165 of 255 = 65%

121
108
165

R + G + B ~ 51%. #796CA5 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
121 + 108 + 165 = 394 (100%)
R 121 of 394 ~ 30.71%
G 108 of 394 ~ 27.41%
B 165 of 394 ~ 41.88%

%30.71
%27.41
%41.88

CMYK color model

#796CA5 color CMYK value is (27,35,0,35).

  • cyan value is 26.67%
  • magenta value is 34.55%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(27,35,0,35)
C27M35Y0K35 
(27%,35%,0%,35%)
(0.27/0.35/0.00/0.35)	

CMYK percentages

%26.67
%34.55
%0
%35.29

Codes

Color #796CA5 in popluar color models

796CA5
RGB121108165
HSL254°24.05%53.53%
HSB/HSV254°34.55%64.71%
CMYK26.67%34.55%0.00%
35.29%

Color #796CA5 in popluar number systems.

HEX796CA5
Decimal121108165
Binary1111001110110010100101
Octal171154245

Shades and tints

Shades of #796CA5

#796CA5
(121,108,165)
#6E6396
(110,99,150)
#635A87
(99,90,135)
#585178
(88,81,120)
#4D4869
(77,72,105)
#423F5A
(66,63,90)
#37364B
(55,54,75)
#2C2D3C
(44,45,60)
#21242D
(33,36,45)
#161B1E
(22,27,30)
#0B120F
(11,18,15)
#000000
(0,0,0)

Tints of #796CA5

#796CA5
(121,108,165)
#8579AD
(133,121,173)
#9186B5
(145,134,181)
#9D93BD
(157,147,189)
#A9A0C5
(169,160,197)
#B5ADCD
(181,173,205)
#C1BAD5
(193,186,213)
#CDC7DD
(205,199,221)
#D9D4E5
(217,212,229)
#E5E1ED
(229,225,237)
#F1EEF5
(241,238,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #796CA5 color. Also use rgb(121,108,165) instead hex code.

Text Font Color

.myTextColor { color: #796CA5; }

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

This text font color is #796CA5.


Background Color

.myBgColor { background-color: #796CA5; }

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

This div background color is #796CA5.


Border color

.myBorderColor { border: 1px solid #796CA5; }

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

This div border color is #796CA5.


Opacity

.myOpacity80 { color: #796CA5; opacity: 0.8; }

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

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

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

This text has shadow with #796CA5 color.

.textShadow {text-shadow: 3px 3px 1px #796CA5, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #796CA5 on black background.


Color preview on white background

This text has color #796CA5 on white background.



Black color preview on #796CA5 background

This text has black color on #796CA5 background.


White color preview on #796CA5 background

This text has white color on #796CA5 background.