COLOR #510C42

HEX: #510C42
RGB: (81,12,66)

Color info

#510C42 contains mainly red and blue colors. Web safe color of #510C42 is #660033 (or #603).

RGB color model

#510C42 color RGB value is (81,12,66).

  • red value is 81;
  • green value is 12;
  • blue value is 66.
RGB:
(81,12,66)
(32%,5%,26%)

RGB channels and saturation

R 81 of 255 = 32%
G 12 of 255 = 5%
B 66 of 255 = 26%

81
12
66

R + G + B ~ 21%. #510C42 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 12 + 66 = 159 (100%)
R 81 of 159 ~ 50.94%
G 12 of 159 ~ 7.55%
B 66 of 159 ~ 41.51%

%50.94
%41.51

CMYK color model

#510C42 color CMYK value is (0,85,19,68).

  • cyan value is 0.00%
  • magenta value is 85.19%
  • yellow value is 18.52%
  • key color value is 68.24%
CMYK:
(0,85,19,68)
C0M85Y19K68 
(0%,85%,19%,68%)
(0.00/0.85/0.19/0.68)	

CMYK percentages

%0
%85.19
%18.52
%68.24

Codes

Color #510C42 in popluar color models

510C42
RGB811266
HSL313°74.19%18.24%
HSB/HSV313°85.19%31.76%
CMYK0.00%85.19%18.52%
68.24%

Color #510C42 in popluar number systems.

HEX510C42
Decimal811266
Binary101000111001000010
Octal12114102

Shades and tints

Shades of #510C42

#510C42
(81,12,66)
#4A0B3C
(74,11,60)
#430A36
(67,10,54)
#3C0930
(60,9,48)
#35082A
(53,8,42)
#2E0724
(46,7,36)
#27061E
(39,6,30)
#200518
(32,5,24)
#190412
(25,4,18)
#12030C
(18,3,12)
#0B0206
(11,2,6)
#000000
(0,0,0)

Tints of #510C42

#510C42
(81,12,66)
#602253
(96,34,83)
#6F3864
(111,56,100)
#7E4E75
(126,78,117)
#8D6486
(141,100,134)
#9C7A97
(156,122,151)
#AB90A8
(171,144,168)
#BAA6B9
(186,166,185)
#C9BCCA
(201,188,202)
#D8D2DB
(216,210,219)
#E7E8EC
(231,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510C42 color. Also use rgb(81,12,66) instead hex code.

Text Font Color

.myTextColor { color: #510C42; }

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

This text font color is #510C42.


Background Color

.myBgColor { background-color: #510C42; }

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

This div background color is #510C42.


Border color

.myBorderColor { border: 1px solid #510C42; }

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

This div border color is #510C42.


Opacity

.myOpacity80 { color: #510C42; opacity: 0.8; }

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

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

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

This text has shadow with #510C42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #510C42 on black background.


Color preview on white background

This text has color #510C42 on white background.



Black color preview on #510C42 background

This text has black color on #510C42 background.


White color preview on #510C42 background

This text has white color on #510C42 background.