COLOR #9796DA

HEX: #9796DA
RGB: (151,150,218)

Color info

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

RGB color model

#9796DA color RGB value is (151,150,218).

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

RGB channels and saturation

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

151
150
218

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

Portions of RGB colors in percentages

R + G + B =
151 + 150 + 218 = 519 (100%)
R 151 of 519 ~ 29.09%
G 150 of 519 ~ 28.9%
B 218 of 519 ~ 42%

%29.09
%28.9
%42

CMYK color model

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

  • cyan value is 30.73%
  • magenta value is 31.19%
  • yellow value is 0.00%
  • key color value is 14.51%
CMYK:
(31,31,0,15)
C31M31Y0K15 
(31%,31%,0%,15%)
(0.31/0.31/0.00/0.15)	

CMYK percentages

%30.73
%31.19
%0
%14.51

Codes

Color #9796DA in popluar color models

9796DA
RGB151150218
HSL241°47.89%72.16%
HSB/HSV241°31.19%85.49%
CMYK30.73%31.19%0.00%
14.51%

Color #9796DA in popluar number systems.

HEX9796DA
Decimal151150218
Binary100101111001011011011010
Octal227226332

Shades and tints

Shades of #9796DA

#9796DA
(151,150,218)
#8A89C7
(138,137,199)
#7D7CB4
(125,124,180)
#706FA1
(112,111,161)
#63628E
(99,98,142)
#56557B
(86,85,123)
#494868
(73,72,104)
#3C3B55
(60,59,85)
#2F2E42
(47,46,66)
#22212F
(34,33,47)
#15141C
(21,20,28)
#000000
(0,0,0)

Tints of #9796DA

#9796DA
(151,150,218)
#A09FDD
(160,159,221)
#A9A8E0
(169,168,224)
#B2B1E3
(178,177,227)
#BBBAE6
(187,186,230)
#C4C3E9
(196,195,233)
#CDCCEC
(205,204,236)
#D6D5EF
(214,213,239)
#DFDEF2
(223,222,242)
#E8E7F5
(232,231,245)
#F1F0F8
(241,240,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9796DA; }

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

This text font color is #9796DA.


Background Color

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

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

This div background color is #9796DA.


Border color

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

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

This div border color is #9796DA.


Opacity

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

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

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

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

This text has shadow with #9796DA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9796DA on black background.


Color preview on white background

This text has color #9796DA on white background.



Black color preview on #9796DA background

This text has black color on #9796DA background.


White color preview on #9796DA background

This text has white color on #9796DA background.