:
logo qtransform

  to  




#5A51A6 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #5A51A6
#5A51A6

   In a RGB color space, hex #5A51A6 is composed of 35% red, 32% green and 65% blue.
RGB color code is composed of a hexadecimal 5A red (90/255), a 51 green (81/255) and a A6 blue component (166/255). The decimal RGB color code is rgb(90,81,166)
In CMYK color space, it is composed of 46% cyan, 51% magenta, 0% yellow and 35% black.
It has a hue angle of 246.35o degrees, a saturation of 34% and a lightness of 48%.
Closest websafe color is: #666699 rgb (102, 102, 153).
twitter  facebook  whatsapp


Color conversion




#5A51A6
rgb(90,81,166)
=35%
from 255
32%
from 255
65%
from 255
=46
from 100
51
from 100
0
from 100
35
from 100
R: 90
red
G: 81
green
B: 166
blue
C: 46
cyan
M: 51
magenta
Y: 0
yellow
K: 35
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #5A51A6 has RGB values of R:90, G:81, B:166 and CMYK values of C:46, M:51, Y:0, K:35. Its decimal value is 5919142.Binary code is 10110100101000110100110
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color5A51A6 #5A51A6
RGB decimal90, 81, 166 rgb(90, 81, 166)
RGB %35, 32, 65 rgb(35%, 32%, 65%)
RGB Adobe88, 82, 162
CMYK %46, 51, 0, 35 46%, 51%, 0%, 35%
HSL246.35o, 34, 48 hsl(246.35o, 34%, 48%)
HSV (HSB)246o, 51%, 65% hsv(246o, 51%, 65%)
Web Safe color#666699 rgb (102, 102, 153)
XYZ14.042, 10.812 37.423
xyY0.23, 0.17, 10.81
Hunter-Lab32.88, 20.77, -48.03
CMY65%, 68%, 35%
Lab38.7, 21.16, -45.48
Binary color
5A 51 A6
1011010 1010001 10100110

Shades and tints of #5A51A6


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: #121021 is the darkest color, and: #DFDDED is the lightest one.

Tint color variation #5A51A6


Shade color variation


Tones of #5A51A6
A tone is produced by adding gray to any pure hue. In this case, #5E56A2 is the less saturated color, and #73708E is the most saturated one.


Alternatives to #5A51A6


Below, you can see some colors close to #5A51A6. 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 #5A51A6


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="#5A51A6;">Text here</font>

<div style="background-color:#5A51A6;">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="#5A51A6;">Text here</font> </div>

HTML code

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



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

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(90, 81, 166, 1.4);



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


Color schemes with #5A51A6


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: 51% has a #5A51A6 saturation. Adding 51% + 10% = 61% saturation for our new color #3A3280. Decreasing 51% - 10% = 41% saturation for other monochromatic color #8178CC.

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: #5A51A6 has a 246o angle. Adding 246o + 180o = 66oo for our new complementary color #9DA651.

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: #5A51A6 has a 246o angle. Adding 246o + 180o+30o = 96o for our first complementary color #73A651. Decreasing 246o + 180o-30o = 36o for the second complementary color #A68451.

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.