COLOR #9797B4

HEX: #9797B4
RGB: (151,151,180)

Color info

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

RGB color model

#9797B4 color RGB value is (151,151,180).

  • red value is 151;
  • green value is 151;
  • blue value is 180.
RGB:
(151,151,180)
(59%,59%,71%)

RGB channels and saturation

R 151 of 255 = 59%
G 151 of 255 = 59%
B 180 of 255 = 71%

151
151
180

R + G + B ~ 63%. #9797B4 is quite light color.

Portions of RGB colors in percentages

R + G + B =
151 + 151 + 180 = 482 (100%)
R 151 of 482 ~ 31.33%
G 151 of 482 ~ 31.33%
B 180 of 482 ~ 37.34%

%31.33
%31.33
%37.34

CMYK color model

#9797B4 color CMYK value is (16,16,0,29).

  • cyan value is 16.11%
  • magenta value is 16.11%
  • yellow value is 0.00%
  • key color value is 29.41%
CMYK:
(16,16,0,29)
C16M16Y0K29 
(16%,16%,0%,29%)
(0.16/0.16/0.00/0.29)	

CMYK percentages

%16.11
%16.11
%0
%29.41

Codes

Color #9797B4 in popluar color models

9797B4
RGB151151180
HSL240°16.20%64.90%
HSB/HSV240°16.11%70.59%
CMYK16.11%16.11%0.00%
29.41%

Color #9797B4 in popluar number systems.

HEX9797B4
Decimal151151180
Binary100101111001011110110100
Octal227227264

Shades and tints

Shades of #9797B4

#9797B4
(151,151,180)
#8A8AA4
(138,138,164)
#7D7D94
(125,125,148)
#707084
(112,112,132)
#636374
(99,99,116)
#565664
(86,86,100)
#494954
(73,73,84)
#3C3C44
(60,60,68)
#2F2F34
(47,47,52)
#222224
(34,34,36)
#151514
(21,21,20)
#000000
(0,0,0)

Tints of #9797B4

#9797B4
(151,151,180)
#A0A0BA
(160,160,186)
#A9A9C0
(169,169,192)
#B2B2C6
(178,178,198)
#BBBBCC
(187,187,204)
#C4C4D2
(196,196,210)
#CDCDD8
(205,205,216)
#D6D6DE
(214,214,222)
#DFDFE4
(223,223,228)
#E8E8EA
(232,232,234)
#F1F1F0
(241,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9797B4 color. Also use rgb(151,151,180) instead hex code.

Text Font Color

.myTextColor { color: #9797B4; }

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

This text font color is #9797B4.


Background Color

.myBgColor { background-color: #9797B4; }

<div style="background-color:#9797B4">Inner text</div>

This div background color is #9797B4.


Border color

.myBorderColor { border: 1px solid #9797B4; }

<div style="border:3px solid #9797B4">Div</div>

This div border color is #9797B4.


Opacity

.myOpacity80 { color: #9797B4; opacity: 0.8; }

<p style="color:#9797B4;opacity:0.8;">80%</p>

Text with #9797B4 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 #9797B4;}

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

This text has shadow with #9797B4 color.

.textShadow {text-shadow: 3px 3px 1px #9797B4, 3px 3px 1px red;}

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

This text has shadow with #9797B4 primary color and red secondary color.


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

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

This text has shadow with #9797B4 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9797B4 on black background.


Color preview on white background

This text has color #9797B4 on white background.



Black color preview on #9797B4 background

This text has black color on #9797B4 background.


White color preview on #9797B4 background

This text has white color on #9797B4 background.