COLOR #510746

HEX: #510746 RGB: (81,7,70)

Color info

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

RGB color model

#510746 color RGB value is (81,7,70).

RGB: (81,7,70) (32%, 3%, 27%)

RGB channels and saturation

R 81 of 255 = 32%
G 7 of 255 = 3%
B 70 of 255 = 27%

81
7
70

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

Portions of RGB colors in percentages

R + G + B = 81 + 7 + 70 = 158 (100%)
R 81 of 158 ~ 51.27%
G 7 of 158 ~ 4.43%
B 70 of 158 ~ 44.3'%

%51.27
%44.3

CMYK color model

#510746 color CMYK value is (0,91,14,68).

  • cyan value is 0.00%
  • magenta value is 91.36%
  • yellow value is 13.58%
  • key color value is 68.24%
CMYK: (0,91,14,68) C0M91Y14K68 (0%,91%,14%,68%) (0.00/0.91/0.14/0.68) 

CMYK percentages

%0
%91.36
%13.58
%68.24

Codes

Color #510746 in popluar color models

51 07 46
RGB 81 7 70
HSL 309° 84.09% 17.25%
HSB/HSV 309° 91.36% 31.76%
CMYK 0.00% 91.36% 13.58%
68.24%

Color #510746 in popluar number systems.

HEX 51 07 46
Decimal 81 7 70
Binary 1010001 111 1000110
Octal 121 7 106

Shades and tints

Shades of #510746

#510746
(81,7,70)
#4A0740
(74,7,64)
#43073A
(67,7,58)
#3C0734
(60,7,52)
#35072E
(53,7,46)
#2E0728
(46,7,40)
#270722
(39,7,34)
#20071C
(32,7,28)
#190716
(25,7,22)
#120710
(18,7,16)
#0B070A
(11,7,10)
#000000
(0,0,0)

Tints of #510746

#510746
(81,7,70)
#601D56
(96,29,86)
#6F3366
(111,51,102)
#7E4976
(126,73,118)
#8D5F86
(141,95,134)
#9C7596
(156,117,150)
#AB8BA6
(171,139,166)
#BAA1B6
(186,161,182)
#C9B7C6
(201,183,198)
#D8CDD6
(216,205,214)
#E7E3E6
(231,227,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510746 color. Also use rgb(81,7,70) instead hex code.

Text Font Color

.myTextColor { color: #510746; }

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

This text font color is #510746.

Background Color

.myBgColor { background-color: #510746; }

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

This div background color is #510746.

Border color

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

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

This div border color is #510746.

Opacity

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

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

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

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

This text has shadow with #510746 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #510746.

Preview

Color preview on black background

This text has color #510746 on black background.


Color preview on white background

This text has color #510746 on white background.


Black color preview on #510746 background

This text has black color on #510746 background.


White color preview on #510746 background

This text has white color on #510746 background.


Related colors

Complementary color

Complementary color for #hex is #AEF8B9.


I love getcolorcode.com

Triadic colors

1 #465107 and #074651 with #510746 are triadic colors.

2 #460751 and #075146 with #510746 are triadic colors.