COLOR #510B4A

HEX: #510B4A
RGB: (81,11,74)

Color info

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

RGB color model

#510B4A color RGB value is (81,11,74).

  • red value is 81;
  • green value is 11;
  • blue value is 74.
RGB:
(81,11,74)
(32%,4%,29%)

RGB channels and saturation

R 81 of 255 = 32%
G 11 of 255 = 4%
B 74 of 255 = 29%

81
11
74

R + G + B ~ 22%. #510B4A is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 11 + 74 = 166 (100%)
R 81 of 166 ~ 48.8%
G 11 of 166 ~ 6.63%
B 74 of 166 ~ 44.58%

%48.8
%44.58

CMYK color model

#510B4A color CMYK value is (0,86,9,68).

  • cyan value is 0.00%
  • magenta value is 86.42%
  • yellow value is 8.64%
  • key color value is 68.24%
CMYK:
(0,86,9,68)
C0M86Y9K68 
(0%,86%,9%,68%)
(0.00/0.86/0.09/0.68)	

CMYK percentages

%0
%86.42
%8.64
%68.24

Codes

Color #510B4A in popluar color models

510B4A
RGB811174
HSL306°76.09%18.04%
HSB/HSV306°86.42%31.76%
CMYK0.00%86.42%8.64%
68.24%

Color #510B4A in popluar number systems.

HEX510B4A
Decimal811174
Binary101000110111001010
Octal12113112

Shades and tints

Shades of #510B4A

#510B4A
(81,11,74)
#4A0A44
(74,10,68)
#43093E
(67,9,62)
#3C0838
(60,8,56)
#350732
(53,7,50)
#2E062C
(46,6,44)
#270526
(39,5,38)
#200420
(32,4,32)
#19031A
(25,3,26)
#120214
(18,2,20)
#0B010E
(11,1,14)
#000000
(0,0,0)

Tints of #510B4A

#510B4A
(81,11,74)
#60215A
(96,33,90)
#6F376A
(111,55,106)
#7E4D7A
(126,77,122)
#8D638A
(141,99,138)
#9C799A
(156,121,154)
#AB8FAA
(171,143,170)
#BAA5BA
(186,165,186)
#C9BBCA
(201,187,202)
#D8D1DA
(216,209,218)
#E7E7EA
(231,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510B4A color. Also use rgb(81,11,74) instead hex code.

Text Font Color

.myTextColor { color: #510B4A; }

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

This text font color is #510B4A.


Background Color

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

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

This div background color is #510B4A.


Border color

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

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

This div border color is #510B4A.


Opacity

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

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

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

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

This text has shadow with #510B4A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #510B4A on black background.


Color preview on white background

This text has color #510B4A on white background.



Black color preview on #510B4A background

This text has black color on #510B4A background.


White color preview on #510B4A background

This text has white color on #510B4A background.