COLOR #842F7B

HEX: #842F7B RGB: (132,47,123)

Color info

#842F7B contains mainly red and blue colors. Web safe color of #842F7B is #993366 (or #936).

RGB color model

#842F7B color RGB value is (132,47,123).

RGB: (132,47,123) (52%, 18%, 48%)

RGB channels and saturation

R 132 of 255 = 52%
G 47 of 255 = 18%
B 123 of 255 = 48%

132
47
123

R + G + B ~ 39%. #842F7B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 132 + 47 + 123 = 302 (100%)
R 132 of 302 ~ 43.71%
G 47 of 302 ~ 15.56%
B 123 of 302 ~ 40.73'%

%43.71
%15.56
%40.73

CMYK color model

#842F7B color CMYK value is (0,64,7,48).

  • cyan value is 0.00%
  • magenta value is 64.39%
  • yellow value is 6.82%
  • key color value is 48.24%
CMYK: (0,64,7,48) C0M64Y7K48 (0%,64%,7%,48%) (0.00/0.64/0.07/0.48) 

CMYK percentages

%0
%64.39
%6.82
%48.24

Codes

Color #842F7B in popluar color models

84 2F 7B
RGB 132 47 123
HSL 306° 47.49% 35.10%
HSB/HSV 306° 64.39% 51.76%
CMYK 0.00% 64.39% 6.82%
48.24%

Color #842F7B in popluar number systems.

HEX 84 2F 7B
Decimal 132 47 123
Binary 10000100 101111 1111011
Octal 204 57 173

Shades and tints

Shades of #842F7B

#842F7B
(132,47,123)
#782B70
(120,43,112)
#6C2765
(108,39,101)
#60235A
(96,35,90)
#541F4F
(84,31,79)
#481B44
(72,27,68)
#3C1739
(60,23,57)
#30132E
(48,19,46)
#240F23
(36,15,35)
#180B18
(24,11,24)
#0C070D
(12,7,13)
#000000
(0,0,0)

Tints of #842F7B

#842F7B
(132,47,123)
#8F4187
(143,65,135)
#9A5393
(154,83,147)
#A5659F
(165,101,159)
#B077AB
(176,119,171)
#BB89B7
(187,137,183)
#C69BC3
(198,155,195)
#D1ADCF
(209,173,207)
#DCBFDB
(220,191,219)
#E7D1E7
(231,209,231)
#F2E3F3
(242,227,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #842F7B color. Also use rgb(132,47,123) instead hex code.

Text Font Color

.myTextColor { color: #842F7B; }

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

This text font color is #842F7B.

Background Color

.myBgColor { background-color: #842F7B; }

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

This div background color is #842F7B.

Border color

.myBorderColor { border: 1px solid #842F7B; }

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

This div border color is #842F7B.

Opacity

.myOpacity80 { color: #842F7B; opacity: 0.8; }

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

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

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

This text has shadow with #842F7B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #842F7B.

Preview

Color preview on black background

This text has color #842F7B on black background.


Color preview on white background

This text has color #842F7B on white background.


Black color preview on #842F7B background

This text has black color on #842F7B background.


White color preview on #842F7B background

This text has white color on #842F7B background.


Related colors

Complementary color

Complementary color for #hex is #7BD084.


I love getcolorcode.com

Triadic colors

1 #7B842F and #2F7B84 with #842F7B are triadic colors.

2 #7B2F84 and #2F847B with #842F7B are triadic colors.