:
logo qtransform

  to  




#4040FF color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #4040FF
#4040FF

   In a RGB color space, hex #4040FF is composed of 25% red, 25% green and 100% blue.
RGB color code is composed of a hexadecimal 40 red (64/255), a 40 green (64/255) and a FF blue component (255/255). The decimal RGB color code is rgb(64,64,255)
In CMYK color space, it is composed of 75% cyan, 75% magenta, 0% yellow and 0% black.
It has a hue angle of 240o degrees, a saturation of 100% and a lightness of 63%.
Closest websafe color is: #3333ff rgb (51, 51, 255).
twitter  facebook  whatsapp


Color conversion




#4040FF
rgb(64,64,255)
=25%
from 255
25%
from 255
100%
from 255
=75
from 100
75
from 100
0
from 100
0
from 100
R: 64
red
G: 64
green
B: 255
blue
C: 75
cyan
M: 75
magenta
Y: 0
yellow
K: 0
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #4040FF has RGB values of R:64, G:64, B:255 and CMYK values of C:75, M:75, Y:0, K:0. Its decimal value is 4210943.Binary code is 10000000100000011111111
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color4040FF #4040FF
RGB decimal64, 64, 255 rgb(64, 64, 255)
RGB %25, 25, 100 rgb(25%, 25%, 100%)
RGB Adobe66, 66, 250
CMYK %75, 75, 0, 0 75%, 75%, 0%, 0%
HSL240o, 100, 63 hsl(240o, 100%, 63%)
HSV (HSB)240o, 75%, 100% hsv(240o, 75%, 100%)
Web Safe color#3333ff rgb (51, 51, 255)
XYZ21.998, 11.977 95.76
xyY0.17, 0.09, 11.98
Hunter-Lab34.61, 55.62, -147.16
CMY75%, 75%, 0%
Lab39.37, 49.79, -95.63
Binary color
40 40 FF
1000000 1000000 11111111

Shades and tints of #4040FF


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

Tint color variation #4040FF


Shade color variation


Tones of #4040FF
A tone is produced by adding gray to any pure hue. In this case, #4646F2 is the less saturated color, and #6A6AAD is the most saturated one.


Alternatives to #4040FF


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #4040FF
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #4040FF;



Box border html code Text shadow with RGB values for color #4040FF
box border html code for color #4040FF

text shadow with RGB values

HTML code

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

CSS code with RGB

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



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


Color schemes with #4040FF


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: 75% has a #4040FF saturation. Adding 75% + 10% = 85% saturation for our new color #2121D9. Decreasing 75% - 10% = 65% saturation for other monochromatic color #5959FF.

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: #4040FF has a 240o angle. Adding 240o + 180o = 60oo for our new complementary color #FFFF40.

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: #4040FF has a 240o angle. Adding 240o + 180o+30o = 90o for our first complementary color #9FFF40. Decreasing 240o + 180o-30o = 30o for the second complementary color #FF9F40.

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.