COLOR #A797CB

HEX: #A797CB RGB: (167,151,203)

Color info

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

RGB color model

#A797CB color RGB value is (167,151,203).

RGB: (167,151,203) (65%, 59%, 80%)

RGB channels and saturation

R 167 of 255 = 65%
G 151 of 255 = 59%
B 203 of 255 = 80%

167
151
203

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

Portions of RGB colors in percentages

R + G + B = 167 + 151 + 203 = 521 (100%)
R 167 of 521 ~ 32.05%
G 151 of 521 ~ 28.98%
B 203 of 521 ~ 38.96'%

%32.05
%28.98
%38.96

CMYK color model

#A797CB color CMYK value is (18,26,0,20).

  • cyan value is 17.73%
  • magenta value is 25.62%
  • yellow value is 0.00%
  • key color value is 20.39%

CMYK: (18,26,0,20)
C18M26Y0K20 (18%, 26%, 0%, 20%)
(0.18 / 0.26 / 0.00 / 0.20)

CMYK percentages

%17.73
%25.62
%0
%20.39

Codes

Color #A797CB in popluar color models

A7 97 CB
RGB 167 151 203
HSL 258° 33.33% 69.41%
HSB/HSV 258° 25.62% 79.61%
CMYK 17.73% 25.62% 0.00%
20.39%

Color #A797CB in popluar number systems.

HEX A7 97 CB
Decimal 167 151 203
Binary 10100111 10010111 11001011
Octal 247 227 313

Shades and tints

Shades of #A797CB

#A797CB
(167,151,203)
#988AB9
(152,138,185)
#897DA7
(137,125,167)
#7A7095
(122,112,149)
#6B6383
(107,99,131)
#5C5671
(92,86,113)
#4D495F
(77,73,95)
#3E3C4D
(62,60,77)
#2F2F3B
(47,47,59)
#202229
(32,34,41)
#111517
(17,21,23)
#000000
(0,0,0)

Tints of #A797CB

#A797CB
(167,151,203)
#AFA0CF
(175,160,207)
#B7A9D3
(183,169,211)
#BFB2D7
(191,178,215)
#C7BBDB
(199,187,219)
#CFC4DF
(207,196,223)
#D7CDE3
(215,205,227)
#DFD6E7
(223,214,231)
#E7DFEB
(231,223,235)
#EFE8EF
(239,232,239)
#F7F1F3
(247,241,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A797CB color. Also use rgb(167,151,203) instead hex code.

Text Font Color

.myTextColor { color: #A797CB; }

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

This text font color is #A797CB.

Background Color

.myBgColor { background-color: #A797CB; }

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

This div background color is #A797CB.

Border color

.myBorderColor { border: 1px solid #A797CB; }

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

This div border color is #A797CB.

Opacity

.myOpacity80 { color: #A797CB; opacity: 0.8; }

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

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

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

This text has shadow with #A797CB color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A797CB.

Preview

Color preview on black background

This text has color #A797CB on black background.


Color preview on white background

This text has color #A797CB on white background.


Black color preview on #A797CB background

This text has black color on #A797CB background.


White color preview on #A797CB background

This text has white color on #A797CB background.


Related colors

Complementary color

Complementary color for #hex is #586834.


I love getcolorcode.com

Triadic colors

1 #CBA797 and #97CBA7 with #A797CB are triadic colors.

2 #CB97A7 and #97A7CB with #A797CB are triadic colors.