COLOR #796CA7

HEX: #796CA7
RGB: (121,108,167)

Color info

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

RGB color model

#796CA7 color RGB value is (121,108,167).

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

RGB channels and saturation

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

121
108
167

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

Portions of RGB colors in percentages

R + G + B =
121 + 108 + 167 = 396 (100%)
R 121 of 396 ~ 30.56%
G 108 of 396 ~ 27.27%
B 167 of 396 ~ 42.17%

%30.56
%27.27
%42.17

CMYK color model

#796CA7 color CMYK value is (28,35,0,35).

  • cyan value is 27.54%
  • magenta value is 35.33%
  • yellow value is 0.00%
  • key color value is 34.51%
CMYK:
(28,35,0,35)
C28M35Y0K35 
(28%,35%,0%,35%)
(0.28/0.35/0.00/0.35)	

CMYK percentages

%27.54
%35.33
%0
%34.51

Codes

Color #796CA7 in popluar color models

796CA7
RGB121108167
HSL253°25.11%53.92%
HSB/HSV253°35.33%65.49%
CMYK27.54%35.33%0.00%
34.51%

Color #796CA7 in popluar number systems.

HEX796CA7
Decimal121108167
Binary1111001110110010100111
Octal171154247

Shades and tints

Shades of #796CA7

#796CA7
(121,108,167)
#6E6398
(110,99,152)
#635A89
(99,90,137)
#58517A
(88,81,122)
#4D486B
(77,72,107)
#423F5C
(66,63,92)
#37364D
(55,54,77)
#2C2D3E
(44,45,62)
#21242F
(33,36,47)
#161B20
(22,27,32)
#0B1211
(11,18,17)
#000000
(0,0,0)

Tints of #796CA7

#796CA7
(121,108,167)
#8579AF
(133,121,175)
#9186B7
(145,134,183)
#9D93BF
(157,147,191)
#A9A0C7
(169,160,199)
#B5ADCF
(181,173,207)
#C1BAD7
(193,186,215)
#CDC7DF
(205,199,223)
#D9D4E7
(217,212,231)
#E5E1EF
(229,225,239)
#F1EEF7
(241,238,247)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #796CA7; }

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

This text font color is #796CA7.


Background Color

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

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

This div background color is #796CA7.


Border color

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

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

This div border color is #796CA7.


Opacity

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

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

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

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

This text has shadow with #796CA7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #796CA7 on black background.


Color preview on white background

This text has color #796CA7 on white background.



Black color preview on #796CA7 background

This text has black color on #796CA7 background.


White color preview on #796CA7 background

This text has white color on #796CA7 background.