COLOR #9796D1

HEX: #9796D1 RGB: (151,150,209)

Color info

#9796D1 contains red, green and blue colors in about the same proportion. Web safe color of #9796D1 is #9999CC (or #99C).

RGB color model

#9796D1 color RGB value is (151,150,209).

RGB: (151,150,209) (59%, 59%, 82%)

RGB channels and saturation

R 151 of 255 = 59%
G 150 of 255 = 59%
B 209 of 255 = 82%

151
150
209

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

Portions of RGB colors in percentages

R + G + B = 151 + 150 + 209 = 510 (100%)
R 151 of 510 ~ 29.61%
G 150 of 510 ~ 29.41%
B 209 of 510 ~ 40.98'%

%29.61
%29.41
%40.98

CMYK color model

#9796D1 color CMYK value is (28,28,0,18).

  • cyan value is 27.75%
  • magenta value is 28.23%
  • yellow value is 0.00%
  • key color value is 18.04%

CMYK: (28,28,0,18)
C28M28Y0K18 (28%, 28%, 0%, 18%)
(0.28 / 0.28 / 0.00 / 0.18)

CMYK percentages

%27.75
%28.23
%0
%18.04

Codes

Color #9796D1 in popluar color models

97 96 D1
RGB 151 150 209
HSL 241° 39.07% 70.39%
HSB/HSV 241° 28.23% 81.96%
CMYK 27.75% 28.23% 0.00%
18.04%

Color #9796D1 in popluar number systems.

HEX 97 96 D1
Decimal 151 150 209
Binary 10010111 10010110 11010001
Octal 227 226 321

Shades and tints

Shades of #9796D1

#9796D1
(151,150,209)
#8A89BE
(138,137,190)
#7D7CAB
(125,124,171)
#706F98
(112,111,152)
#636285
(99,98,133)
#565572
(86,85,114)
#49485F
(73,72,95)
#3C3B4C
(60,59,76)
#2F2E39
(47,46,57)
#222126
(34,33,38)
#151413
(21,20,19)
#000000
(0,0,0)

Tints of #9796D1

#9796D1
(151,150,209)
#A09FD5
(160,159,213)
#A9A8D9
(169,168,217)
#B2B1DD
(178,177,221)
#BBBAE1
(187,186,225)
#C4C3E5
(196,195,229)
#CDCCE9
(205,204,233)
#D6D5ED
(214,213,237)
#DFDEF1
(223,222,241)
#E8E7F5
(232,231,245)
#F1F0F9
(241,240,249)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9796D1; }

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

This text font color is #9796D1.

Background Color

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

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

This div background color is #9796D1.

Border color

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

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

This div border color is #9796D1.

Opacity

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

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

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

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

This text has shadow with #9796D1 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9796D1.

Preview

Color preview on black background

This text has color #9796D1 on black background.


Color preview on white background

This text has color #9796D1 on white background.


Black color preview on #9796D1 background

This text has black color on #9796D1 background.


White color preview on #9796D1 background

This text has white color on #9796D1 background.


Related colors

Complementary color

Complementary color for #hex is #68692E.


I love getcolorcode.com

Triadic colors

1 #D19796 and #96D197 with #9796D1 are triadic colors.

2 #D19697 and #9697D1 with #9796D1 are triadic colors.