COLOR #512748

HEX: #512748 RGB: (81,39,72)

Color info

#512748 contains red, green and blue colors in about the same proportion. Web safe color of #512748 is #663333 (or #633).

RGB color model

#512748 color RGB value is (81,39,72).

RGB: (81,39,72) (32%, 15%, 28%)

RGB channels and saturation

R 81 of 255 = 32%
G 39 of 255 = 15%
B 72 of 255 = 28%

81
39
72

R + G + B ~ 25%. #512748 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 39 + 72 = 192 (100%)
R 81 of 192 ~ 42.19%
G 39 of 192 ~ 20.31%
B 72 of 192 ~ 37.5'%

%42.19
%20.31
%37.5

CMYK color model

#512748 color CMYK value is (0,52,11,68).

  • cyan value is 0.00%
  • magenta value is 51.85%
  • yellow value is 11.11%
  • key color value is 68.24%

CMYK: (0,52,11,68)
C0M52Y11K68 (0%, 52%, 11%, 68%)
(0.00 / 0.52 / 0.11 / 0.68)

CMYK percentages

%0
%51.85
%11.11
%68.24

Codes

Color #512748 in popluar color models

51 27 48
RGB 81 39 72
HSL 313° 35.00% 23.53%
HSB/HSV 313° 51.85% 31.76%
CMYK 0.00% 51.85% 11.11%
68.24%

Color #512748 in popluar number systems.

HEX 51 27 48
Decimal 81 39 72
Binary 1010001 100111 1001000
Octal 121 47 110

Shades and tints

Shades of #512748

#512748
(81,39,72)
#4A2442
(74,36,66)
#43213C
(67,33,60)
#3C1E36
(60,30,54)
#351B30
(53,27,48)
#2E182A
(46,24,42)
#271524
(39,21,36)
#20121E
(32,18,30)
#190F18
(25,15,24)
#120C12
(18,12,18)
#0B090C
(11,9,12)
#000000
(0,0,0)

Tints of #512748

#512748
(81,39,72)
#603A58
(96,58,88)
#6F4D68
(111,77,104)
#7E6078
(126,96,120)
#8D7388
(141,115,136)
#9C8698
(156,134,152)
#AB99A8
(171,153,168)
#BAACB8
(186,172,184)
#C9BFC8
(201,191,200)
#D8D2D8
(216,210,216)
#E7E5E8
(231,229,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512748 color. Also use rgb(81,39,72) instead hex code.

Text Font Color

.myTextColor { color: #512748; }

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

This text font color is #512748.

Background Color

.myBgColor { background-color: #512748; }

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

This div background color is #512748.

Border color

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

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

This div border color is #512748.

Opacity

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

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

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

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

This text has shadow with #512748 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512748.

Preview

Color preview on black background

This text has color #512748 on black background.


Color preview on white background

This text has color #512748 on white background.


Black color preview on #512748 background

This text has black color on #512748 background.


White color preview on #512748 background

This text has white color on #512748 background.


Related colors

Complementary color

Complementary color for #hex is #AED8B7.


I love getcolorcode.com

Triadic colors

1 #485127 and #274851 with #512748 are triadic colors.

2 #482751 and #275148 with #512748 are triadic colors.