COLOR #9796D8

HEX: #9796D8
RGB: (151,150,216)

Color info

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

RGB color model

#9796D8 color RGB value is (151,150,216).

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

RGB channels and saturation

R 151 of 255 = 59%
G 150 of 255 = 59%
B 216 of 255 = 85%

151
150
216

R + G + B ~ 68%. #9796D8 is quite light color.

Portions of RGB colors in percentages

R + G + B =
151 + 150 + 216 = 517 (100%)
R 151 of 517 ~ 29.21%
G 150 of 517 ~ 29.01%
B 216 of 517 ~ 41.78%

%29.21
%29.01
%41.78

CMYK color model

#9796D8 color CMYK value is (30,31,0,15).

  • cyan value is 30.09%
  • magenta value is 30.56%
  • yellow value is 0.00%
  • key color value is 15.29%
CMYK:
(30,31,0,15)
C30M31Y0K15 
(30%,31%,0%,15%)
(0.30/0.31/0.00/0.15)	

CMYK percentages

%30.09
%30.56
%0
%15.29

Codes

Color #9796D8 in popluar color models

9796D8
RGB151150216
HSL241°45.83%71.76%
HSB/HSV241°30.56%84.71%
CMYK30.09%30.56%0.00%
15.29%

Color #9796D8 in popluar number systems.

HEX9796D8
Decimal151150216
Binary100101111001011011011000
Octal227226330

Shades and tints

Shades of #9796D8

#9796D8
(151,150,216)
#8A89C5
(138,137,197)
#7D7CB2
(125,124,178)
#706F9F
(112,111,159)
#63628C
(99,98,140)
#565579
(86,85,121)
#494866
(73,72,102)
#3C3B53
(60,59,83)
#2F2E40
(47,46,64)
#22212D
(34,33,45)
#15141A
(21,20,26)
#000000
(0,0,0)

Tints of #9796D8

#9796D8
(151,150,216)
#A09FDB
(160,159,219)
#A9A8DE
(169,168,222)
#B2B1E1
(178,177,225)
#BBBAE4
(187,186,228)
#C4C3E7
(196,195,231)
#CDCCEA
(205,204,234)
#D6D5ED
(214,213,237)
#DFDEF0
(223,222,240)
#E8E7F3
(232,231,243)
#F1F0F6
(241,240,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9796D8; }

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

This text font color is #9796D8.


Background Color

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

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

This div background color is #9796D8.


Border color

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

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

This div border color is #9796D8.


Opacity

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

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

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

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

This text has shadow with #9796D8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9796D8 on black background.


Color preview on white background

This text has color #9796D8 on white background.



Black color preview on #9796D8 background

This text has black color on #9796D8 background.


White color preview on #9796D8 background

This text has white color on #9796D8 background.