COLOR #9796D7

HEX: #9796D7
RGB: (151,150,215)

Color info

#9796D7 contains mainly blue color. Web safe color of #9796D7 is #9999CC (or #99C).

RGB color model

#9796D7 color RGB value is (151,150,215).

  • red value is 151;
  • green value is 150;
  • blue value is 215.
RGB:
(151,150,215)
(59%,59%,84%)

RGB channels and saturation

R 151 of 255 = 59%
G 150 of 255 = 59%
B 215 of 255 = 84%

151
150
215

R + G + B ~ 67%. #9796D7 is quite light color.

Portions of RGB colors in percentages

R + G + B =
151 + 150 + 215 = 516 (100%)
R 151 of 516 ~ 29.26%
G 150 of 516 ~ 29.07%
B 215 of 516 ~ 41.67%

%29.26
%29.07
%41.67

CMYK color model

#9796D7 color CMYK value is (30,30,0,16).

  • cyan value is 29.77%
  • magenta value is 30.23%
  • yellow value is 0.00%
  • key color value is 15.69%
CMYK:
(30,30,0,16)
C30M30Y0K16 
(30%,30%,0%,16%)
(0.30/0.30/0.00/0.16)	

CMYK percentages

%29.77
%30.23
%0
%15.69

Codes

Color #9796D7 in popluar color models

9796D7
RGB151150215
HSL241°44.83%71.57%
HSB/HSV241°30.23%84.31%
CMYK29.77%30.23%0.00%
15.69%

Color #9796D7 in popluar number systems.

HEX9796D7
Decimal151150215
Binary100101111001011011010111
Octal227226327

Shades and tints

Shades of #9796D7

#9796D7
(151,150,215)
#8A89C4
(138,137,196)
#7D7CB1
(125,124,177)
#706F9E
(112,111,158)
#63628B
(99,98,139)
#565578
(86,85,120)
#494865
(73,72,101)
#3C3B52
(60,59,82)
#2F2E3F
(47,46,63)
#22212C
(34,33,44)
#151419
(21,20,25)
#000000
(0,0,0)

Tints of #9796D7

#9796D7
(151,150,215)
#A09FDA
(160,159,218)
#A9A8DD
(169,168,221)
#B2B1E0
(178,177,224)
#BBBAE3
(187,186,227)
#C4C3E6
(196,195,230)
#CDCCE9
(205,204,233)
#D6D5EC
(214,213,236)
#DFDEEF
(223,222,239)
#E8E7F2
(232,231,242)
#F1F0F5
(241,240,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9796D7 color. Also use rgb(151,150,215) instead hex code.

Text Font Color

.myTextColor { color: #9796D7; }

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

This text font color is #9796D7.


Background Color

.myBgColor { background-color: #9796D7; }

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

This div background color is #9796D7.


Border color

.myBorderColor { border: 1px solid #9796D7; }

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

This div border color is #9796D7.


Opacity

.myOpacity80 { color: #9796D7; opacity: 0.8; }

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

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

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

This text has shadow with #9796D7 color.

.textShadow {text-shadow: 3px 3px 1px #9796D7, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9796D7 on black background.


Color preview on white background

This text has color #9796D7 on white background.



Black color preview on #9796D7 background

This text has black color on #9796D7 background.


White color preview on #9796D7 background

This text has white color on #9796D7 background.