:
logo qtransform

  to  




#5A0C42 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #5A0C42
#5A0C42

   In a RGB color space, hex #5A0C42 is composed of 35% red, 5% green and 26% blue.
RGB color code is composed of a hexadecimal 5A red (90/255), a 0C green (12/255) and a 42 blue component (66/255). The decimal RGB color code is rgb(90,12,66)
In CMYK color space, it is composed of 0% cyan, 87% magenta, 27% yellow and 65% black.
It has a hue angle of 318.46o degrees, a saturation of 76% and a lightness of 20%.
Closest websafe color is: #660033 rgb (102, 0, 51).
twitter  facebook  whatsapp


Color conversion




#5A0C42
rgb(90,12,66)
=35%
from 255
5%
from 255
26%
from 255
=0
from 100
87
from 100
27
from 100
65
from 100
R: 90
red
G: 12
green
B: 66
blue
C: 0
cyan
M: 87
magenta
Y: 27
yellow
K: 65
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #5A0C42 has RGB values of R:90, G:12, B:66 and CMYK values of C:0, M:87, Y:27, K:65. Its decimal value is 5901378.Binary code is 10110100000110001000010
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color5A0C42 #5A0C42
RGB decimal90, 12, 66 rgb(90, 12, 66)
RGB %35, 5, 26 rgb(35%, 5%, 26%)
RGB Adobe78, 20, 67
CMYK %0, 87, 27, 65 0%, 87%, 27%, 65%
HSL318.46o, 76, 20 hsl(318.46o, 76%, 20%)
HSV (HSB)318o, 87%, 35% hsv(318o, 87%, 35%)
Web Safe color#660033 rgb (102, 0, 51)
XYZ5.331, 2.83 5.42
xyY0.39, 0.21, 2.83
Hunter-Lab16.82, 28.47, -8.56
CMY65%, 95%, 74%
Lab19.51, 37.99, -12.11
Binary color
5A 0C 42
1011010 1100 1000010

Shades and tints of #5A0C42


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #12030E is the darkest color, and: #DFCFDA is the lightest one.

Tint color variation #5A0C42


Shade color variation


Tones of #5A0C42
A tone is produced by adding gray to any pure hue. In this case, #5E1848 is the less saturated color, and #73586B is the most saturated one.


Alternatives to #5A0C42


Below, you can see some colors close to #5A0C42. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #5A0C42


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#5A0C42;">Text here</font>

<div style="background-color:#5A0C42;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#5A0C42;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#5A0C42;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #5A0C42
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #5A0C42;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #5A0C42;



Box border html code Text shadow with RGB values for color #5A0C42
box border html code for color #5A0C42

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #5A0C42;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(90, 12, 66, 1.4);



Pre-formatted code 5A0C42 code for script / programming
HTML, CSS: = #5A0C42; rgb(90, 12, 66)
Java: = new Color(90, 12, 66)
.NET: = Color.FromArgb (90, 12, 66);
Xojo: = rgb (90, 12, 66, 0);
openGL: = glColor3f (0.35f, 0.05f, 0.26f);
Swift: = UIColor(red:0.35, green:0.05, blue:0.26, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.35 green:0.05 blue:0.26 alpha:1.00000];


Color schemes with #5A0C42


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 87% has a #5A0C42 saturation. Adding 87% + 10% = 97% saturation for our new color #330224. Decreasing 87% - 10% = 77% saturation for other monochromatic color #801D62.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #5A0C42 has a 318o angle. Adding 318o + 180o = 138oo for our new complementary color #0C5923.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #5A0C42 has a 318o angle. Adding 318o + 180o+30o = 168o for our first complementary color #0C594A. Decreasing 318o + 180o-30o = 108o for the second complementary color #1B590C.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.