COLOR #5A1F6D

HEX: #5A1F6D
RGB: (90,31,109)

Color info

#5A1F6D contains mainly red and blue colors. Web safe color of #5A1F6D is #663366 (or #636).

RGB color model

#5A1F6D color RGB value is (90,31,109).

  • red value is 90;
  • green value is 31;
  • blue value is 109.
RGB:
(90,31,109)
(35%,12%,43%)

RGB channels and saturation

R 90 of 255 = 35%
G 31 of 255 = 12%
B 109 of 255 = 43%

90
31
109

R + G + B ~ 30%. #5A1F6D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 31 + 109 = 230 (100%)
R 90 of 230 ~ 39.13%
G 31 of 230 ~ 13.48%
B 109 of 230 ~ 47.39%

%39.13
%13.48
%47.39

CMYK color model

#5A1F6D color CMYK value is (17,72,0,57).

  • cyan value is 17.43%
  • magenta value is 71.56%
  • yellow value is 0.00%
  • key color value is 57.25%
CMYK:
(17,72,0,57)
C17M72Y0K57 
(17%,72%,0%,57%)
(0.17/0.72/0.00/0.57)	

CMYK percentages

%17.43
%71.56
%0
%57.25

Codes

Color #5A1F6D in popluar color models

5A1F6D
RGB9031109
HSL285°55.71%27.45%
HSB/HSV285°71.56%42.75%
CMYK17.43%71.56%0.00%
57.25%

Color #5A1F6D in popluar number systems.

HEX5A1F6D
Decimal9031109
Binary1011010111111101101
Octal13237155

Shades and tints

Shades of #5A1F6D

#5A1F6D
(90,31,109)
#521D64
(82,29,100)
#4A1B5B
(74,27,91)
#421952
(66,25,82)
#3A1749
(58,23,73)
#321540
(50,21,64)
#2A1337
(42,19,55)
#22112E
(34,17,46)
#1A0F25
(26,15,37)
#120D1C
(18,13,28)
#0A0B13
(10,11,19)
#000000
(0,0,0)

Tints of #5A1F6D

#5A1F6D
(90,31,109)
#69337A
(105,51,122)
#784787
(120,71,135)
#875B94
(135,91,148)
#966FA1
(150,111,161)
#A583AE
(165,131,174)
#B497BB
(180,151,187)
#C3ABC8
(195,171,200)
#D2BFD5
(210,191,213)
#E1D3E2
(225,211,226)
#F0E7EF
(240,231,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A1F6D color. Also use rgb(90,31,109) instead hex code.

Text Font Color

.myTextColor { color: #5A1F6D; }

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

This text font color is #5A1F6D.


Background Color

.myBgColor { background-color: #5A1F6D; }

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

This div background color is #5A1F6D.


Border color

.myBorderColor { border: 1px solid #5A1F6D; }

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

This div border color is #5A1F6D.


Opacity

.myOpacity80 { color: #5A1F6D; opacity: 0.8; }

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

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

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

This text has shadow with #5A1F6D color.

.textShadow {text-shadow: 3px 3px 1px #5A1F6D, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A1F6D on black background.


Color preview on white background

This text has color #5A1F6D on white background.



Black color preview on #5A1F6D background

This text has black color on #5A1F6D background.


White color preview on #5A1F6D background

This text has white color on #5A1F6D background.