COLOR #512A4B

HEX: #512A4B
RGB: (81,42,75)

Color info

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

RGB color model

#512A4B color RGB value is (81,42,75).

  • red value is 81;
  • green value is 42;
  • blue value is 75.
RGB: (81,42,75) (32%,16%,29%)

RGB channels and saturation

R 81 of 255 = 32%
G 42 of 255 = 16%
B 75 of 255 = 29%

81
42
75

R + G + B ~ 26%. #512A4B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 42 + 75 = 198 (100%)
R 81 of 198 ~ 40.91%
G 42 of 198 ~ 21.21%
B 75 of 198 ~ 37.88%

%40.91
%21.21
%37.88

CMYK color model

#512A4B color CMYK value is (0,48,7,68).

  • cyan value is 0.00%
  • magenta value is 48.15%
  • yellow value is 7.41%
  • key color value is 68.24%
CMYK: (0,48,7,68) C0M48Y7K68 (0%,48%,7%,68%) (0.00/0.48/0.07/0.68)

CMYK percentages

%0
%48.15
%7.41
%68.24

Codes

Color #512A4B in popluar color models

512A4B
RGB814275
HSL309°31.71%24.12%
HSB/HSV309°48.15%31.76%
CMYK0.00%48.15%7.41%
68.24%

Color #512A4B in popluar number systems.

HEX512A4B
Decimal814275
Binary10100011010101001011
Octal12152113

Shades and tints

Shades of #512A4B

#512A4B
(81,42,75)
#4A2745
(74,39,69)
#43243F
(67,36,63)
#3C2139
(60,33,57)
#351E33
(53,30,51)
#2E1B2D
(46,27,45)
#271827
(39,24,39)
#201521
(32,21,33)
#19121B
(25,18,27)
#120F15
(18,15,21)
#0B0C0F
(11,12,15)
#000000
(0,0,0)

Tints of #512A4B

#512A4B
(81,42,75)
#603D5B
(96,61,91)
#6F506B
(111,80,107)
#7E637B
(126,99,123)
#8D768B
(141,118,139)
#9C899B
(156,137,155)
#AB9CAB
(171,156,171)
#BAAFBB
(186,175,187)
#C9C2CB
(201,194,203)
#D8D5DB
(216,213,219)
#E7E8EB
(231,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512A4B color. Also use rgb(81,42,75) instead hex code.

Text Font Color

.myTextColor { color: #512A4B; }

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

This text font color is #512A4B.


Background Color

.myBgColor { background-color: #512A4B; }

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

This div background color is #512A4B.


Border color

.myBorderColor { border: 1px solid #512A4B; }

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

This div border color is #512A4B.


Opacity

.myOpacity80 { color: #512A4B; opacity: 0.8; }

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

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

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

This text has shadow with #512A4B color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #512A4B on black background.


Color preview on white background

This text has color #512A4B on white background.



Black color preview on #512A4B background

This text has black color on #512A4B background.


White color preview on #512A4B background

This text has white color on #512A4B background.