COLOR #821172

HEX: #821172
RGB: (130,17,114)

Color info

#821172 contains mainly red and blue colors. Web safe color of #821172 is #990066 (or #906).

RGB color model

#821172 color RGB value is (130,17,114).

  • red value is 130;
  • green value is 17;
  • blue value is 114.
RGB:
(130,17,114)
(51%,7%,45%)

RGB channels and saturation

R 130 of 255 = 51%
G 17 of 255 = 7%
B 114 of 255 = 45%

130
17
114

R + G + B ~ 34%. #821172 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
130 + 17 + 114 = 261 (100%)
R 130 of 261 ~ 49.81%
G 17 of 261 ~ 6.51%
B 114 of 261 ~ 43.68%

%49.81
%43.68

CMYK color model

#821172 color CMYK value is (0,87,12,49).

  • cyan value is 0.00%
  • magenta value is 86.92%
  • yellow value is 12.31%
  • key color value is 49.02%
CMYK:
(0,87,12,49)
C0M87Y12K49 
(0%,87%,12%,49%)
(0.00/0.87/0.12/0.49)	

CMYK percentages

%0
%86.92
%12.31
%49.02

Codes

Color #821172 in popluar color models

821172
RGB13017114
HSL308°76.87%28.82%
HSB/HSV308°86.92%50.98%
CMYK0.00%86.92%12.31%
49.02%

Color #821172 in popluar number systems.

HEX821172
Decimal13017114
Binary10000010100011110010
Octal20221162

Shades and tints

Shades of #821172

#821172
(130,17,114)
#771068
(119,16,104)
#6C0F5E
(108,15,94)
#610E54
(97,14,84)
#560D4A
(86,13,74)
#4B0C40
(75,12,64)
#400B36
(64,11,54)
#350A2C
(53,10,44)
#2A0922
(42,9,34)
#1F0818
(31,8,24)
#14070E
(20,7,14)
#000000
(0,0,0)

Tints of #821172

#821172
(130,17,114)
#8D267E
(141,38,126)
#983B8A
(152,59,138)
#A35096
(163,80,150)
#AE65A2
(174,101,162)
#B97AAE
(185,122,174)
#C48FBA
(196,143,186)
#CFA4C6
(207,164,198)
#DAB9D2
(218,185,210)
#E5CEDE
(229,206,222)
#F0E3EA
(240,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #821172 color. Also use rgb(130,17,114) instead hex code.

Text Font Color

.myTextColor { color: #821172; }

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

This text font color is #821172.


Background Color

.myBgColor { background-color: #821172; }

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

This div background color is #821172.


Border color

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

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

This div border color is #821172.


Opacity

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

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

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

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

This text has shadow with #821172 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #821172 on black background.


Color preview on white background

This text has color #821172 on white background.



Black color preview on #821172 background

This text has black color on #821172 background.


White color preview on #821172 background

This text has white color on #821172 background.