:
logo qtransform

  to  




#4042AD color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #4042AD
#4042AD

   In a RGB color space, hex #4042AD is composed of 25% red, 26% green and 68% blue.
RGB color code is composed of a hexadecimal 40 red (64/255), a 42 green (66/255) and a AD blue component (173/255). The decimal RGB color code is rgb(64,66,173)
In CMYK color space, it is composed of 63% cyan, 62% magenta, 0% yellow and 32% black.
It has a hue angle of 238.9o degrees, a saturation of 46% and a lightness of 46%.
Closest websafe color is: #333399 rgb (51, 51, 153).
twitter  facebook  whatsapp


Color conversion




#4042AD
rgb(64,66,173)
=25%
from 255
26%
from 255
68%
from 255
=63
from 100
62
from 100
0
from 100
32
from 100
R: 64
red
G: 66
green
B: 173
blue
C: 63
cyan
M: 62
magenta
Y: 0
yellow
K: 32
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #4042AD has RGB values of R:64, G:66, B:173 and CMYK values of C:63, M:62, Y:0, K:32. Its decimal value is 4211373.Binary code is 10000000100001010101101
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color4042AD #4042AD
RGB decimal64, 66, 173 rgb(64, 66, 173)
RGB %25, 26, 68 rgb(25%, 26%, 68%)
RGB Adobe67, 68, 169
CMYK %63, 62, 0, 32 63%, 62%, 0%, 32%
HSL238.9o, 46, 46 hsl(238.9o, 46%, 46%)
HSV (HSB)239o, 63%, 68% hsv(239o, 63%, 68%)
Web Safe color#333399 rgb (51, 51, 153)
XYZ11.605, 8.004 40.468
xyY0.19, 0.13, 8
Hunter-Lab28.29, 25.62, -69.1
CMY75%, 74%, 32%
Lab33.09, 25.74, -58.8
Binary color
40 42 AD
1000000 1000010 10101101

Shades and tints of #4042AD


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: #0C0E22 is the darkest color, and: #DADAEF is the lightest one.

Tint color variation #4042AD


Shade color variation


Tones of #4042AD
A tone is produced by adding gray to any pure hue. In this case, #4648A9 is the less saturated color, and #6A6B90 is the most saturated one.


Alternatives to #4042AD


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #4042AD
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #4042AD;



Box border html code Text shadow with RGB values for color #4042AD
box border html code for color #4042AD

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(64, 66, 173, 1.4);



Pre-formatted code 4042AD code for script / programming
HTML, CSS: = #4042AD; rgb(64, 66, 173)
Java: = new Color(64, 66, 173)
.NET: = Color.FromArgb (64, 66, 173);
Xojo: = rgb (64, 66, 173, 0);
openGL: = glColor3f (0.25f, 0.26f, 0.68f);
Swift: = UIColor(red:0.25, green:0.26, blue:0.68, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.25 green:0.26 blue:0.68 alpha:1.00000];


Color schemes with #4042AD


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: 63% has a #4042AD saturation. Adding 63% + 10% = 73% saturation for our new color #242687. Decreasing 63% - 10% = 53% saturation for other monochromatic color #6365D4.

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: #4042AD has a 239o angle. Adding 239o + 180o = 59oo for our new complementary color #ADAC40.

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: #4042AD has a 239o angle. Adding 239o + 180o+30o = 89o for our first complementary color #79AD40. Decreasing 239o + 180o-30o = 29o for the second complementary color #AD7540.

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.