COLOR #5A1B66

HEX: #5A1B66
RGB: (90,27,102)

Color info

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

RGB color model

#5A1B66 color RGB value is (90,27,102).

  • red value is 90;
  • green value is 27;
  • blue value is 102.
RGB:
(90,27,102)
(35%,11%,40%)

RGB channels and saturation

R 90 of 255 = 35%
G 27 of 255 = 11%
B 102 of 255 = 40%

90
27
102

R + G + B ~ 29%. #5A1B66 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 27 + 102 = 219 (100%)
R 90 of 219 ~ 41.1%
G 27 of 219 ~ 12.33%
B 102 of 219 ~ 46.58%

%41.1
%12.33
%46.58

CMYK color model

#5A1B66 color CMYK value is (12,74,0,60).

  • cyan value is 11.76%
  • magenta value is 73.53%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(12,74,0,60)
C12M74Y0K60 
(12%,74%,0%,60%)
(0.12/0.74/0.00/0.60)	

CMYK percentages

%11.76
%73.53
%0
%60

Codes

Color #5A1B66 in popluar color models

5A1B66
RGB9027102
HSL290°58.14%25.29%
HSB/HSV290°73.53%40.00%
CMYK11.76%73.53%0.00%
60.00%

Color #5A1B66 in popluar number systems.

HEX5A1B66
Decimal9027102
Binary1011010110111100110
Octal13233146

Shades and tints

Shades of #5A1B66

#5A1B66
(90,27,102)
#52195D
(82,25,93)
#4A1754
(74,23,84)
#42154B
(66,21,75)
#3A1342
(58,19,66)
#321139
(50,17,57)
#2A0F30
(42,15,48)
#220D27
(34,13,39)
#1A0B1E
(26,11,30)
#120915
(18,9,21)
#0A070C
(10,7,12)
#000000
(0,0,0)

Tints of #5A1B66

#5A1B66
(90,27,102)
#692F73
(105,47,115)
#784380
(120,67,128)
#87578D
(135,87,141)
#966B9A
(150,107,154)
#A57FA7
(165,127,167)
#B493B4
(180,147,180)
#C3A7C1
(195,167,193)
#D2BBCE
(210,187,206)
#E1CFDB
(225,207,219)
#F0E3E8
(240,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A1B66 color. Also use rgb(90,27,102) instead hex code.

Text Font Color

.myTextColor { color: #5A1B66; }

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

This text font color is #5A1B66.


Background Color

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

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

This div background color is #5A1B66.


Border color

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

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

This div border color is #5A1B66.


Opacity

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

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

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

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

This text has shadow with #5A1B66 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A1B66 on black background.


Color preview on white background

This text has color #5A1B66 on white background.



Black color preview on #5A1B66 background

This text has black color on #5A1B66 background.


White color preview on #5A1B66 background

This text has white color on #5A1B66 background.