COLOR #840C5B

HEX: #840C5B
RGB: (132,12,91)

Color info

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

RGB color model

#840C5B color RGB value is (132,12,91).

  • red value is 132;
  • green value is 12;
  • blue value is 91.
RGB:
(132,12,91)
(52%,5%,36%)

RGB channels and saturation

R 132 of 255 = 52%
G 12 of 255 = 5%
B 91 of 255 = 36%

132
12
91

R + G + B ~ 31%. #840C5B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
132 + 12 + 91 = 235 (100%)
R 132 of 235 ~ 56.17%
G 12 of 235 ~ 5.11%
B 91 of 235 ~ 38.72%

%56.17
%38.72

CMYK color model

#840C5B color CMYK value is (0,91,31,48).

  • cyan value is 0.00%
  • magenta value is 90.91%
  • yellow value is 31.06%
  • key color value is 48.24%
CMYK:
(0,91,31,48)
C0M91Y31K48 
(0%,91%,31%,48%)
(0.00/0.91/0.31/0.48)	

CMYK percentages

%0
%90.91
%31.06
%48.24

Codes

Color #840C5B in popluar color models

840C5B
RGB1321291
HSL321°83.33%28.24%
HSB/HSV321°90.91%51.76%
CMYK0.00%90.91%31.06%
48.24%

Color #840C5B in popluar number systems.

HEX840C5B
Decimal1321291
Binary1000010011001011011
Octal20414133

Shades and tints

Shades of #840C5B

#840C5B
(132,12,91)
#780B53
(120,11,83)
#6C0A4B
(108,10,75)
#600943
(96,9,67)
#54083B
(84,8,59)
#480733
(72,7,51)
#3C062B
(60,6,43)
#300523
(48,5,35)
#24041B
(36,4,27)
#180313
(24,3,19)
#0C020B
(12,2,11)
#000000
(0,0,0)

Tints of #840C5B

#840C5B
(132,12,91)
#8F2269
(143,34,105)
#9A3877
(154,56,119)
#A54E85
(165,78,133)
#B06493
(176,100,147)
#BB7AA1
(187,122,161)
#C690AF
(198,144,175)
#D1A6BD
(209,166,189)
#DCBCCB
(220,188,203)
#E7D2D9
(231,210,217)
#F2E8E7
(242,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #840C5B color. Also use rgb(132,12,91) instead hex code.

Text Font Color

.myTextColor { color: #840C5B; }

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

This text font color is #840C5B.


Background Color

.myBgColor { background-color: #840C5B; }

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

This div background color is #840C5B.


Border color

.myBorderColor { border: 1px solid #840C5B; }

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

This div border color is #840C5B.


Opacity

.myOpacity80 { color: #840C5B; opacity: 0.8; }

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

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

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

This text has shadow with #840C5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #840C5B on black background.


Color preview on white background

This text has color #840C5B on white background.



Black color preview on #840C5B background

This text has black color on #840C5B background.


White color preview on #840C5B background

This text has white color on #840C5B background.