:
logo qtransform

  to  




#040796 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #040796
#040796

   In a RGB color space, hex #040796 is composed of 2% red, 3% green and 59% blue.
RGB color code is composed of a hexadecimal 04 red (4/255), a 07 green (7/255) and a 96 blue component (150/255). The decimal RGB color code is rgb(4,7,150)
In CMYK color space, it is composed of 97% cyan, 95% magenta, 0% yellow and 41% black.
It has a hue angle of 238.77o degrees, a saturation of 95% and a lightness of 30%.
Closest websafe color is: #000099 rgb (0, 0, 153).
twitter  facebook  whatsapp


Color conversion




#040796
rgb(4,7,150)
=2%
from 255
3%
from 255
59%
from 255
=97
from 100
95
from 100
0
from 100
41
from 100
R: 4
red
G: 7
green
B: 150
blue
C: 97
cyan
M: 95
magenta
Y: 0
yellow
K: 41
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #040796 has RGB values of R:4, G:7, B:150 and CMYK values of C:97, M:95, Y:0, K:41. Its decimal value is 264086.Binary code is 1000000011110010110
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color040796 #040796
RGB decimal4, 7, 150 rgb(4, 7, 150)
RGB %2, 3, 59 rgb(2%, 3%, 59%)
RGB Adobe13, 16, 146
CMYK %97, 95, 0, 41 97%, 95%, 0%, 41%
HSL238.77o, 95, 30 hsl(238.77o, 95%, 30%)
HSV (HSB)239o, 97%, 59% hsv(239o, 97%, 59%)
Web Safe color#000099 rgb (0, 0, 153)
XYZ5.631, 2.38 29.017
xyY0.15, 0.06, 2.38
Hunter-Lab15.43, 39.6, -105.46
CMY98%, 97%, 41%
Lab15.63, 43.65, -73.8
Binary color
04 07 96
100 111 10010110

Shades and tints of #040796


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: #03031E is the darkest color, and: #CECFEA is the lightest one.

Tint color variation #040796


Shade color variation


Tones of #040796
A tone is produced by adding gray to any pure hue. In this case, #101394 is the less saturated color, and #545688 is the most saturated one.


Alternatives to #040796


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #040796
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #040796;



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(4, 7, 150, 1.4);



Pre-formatted code 040796 code for script / programming
HTML, CSS: = #040796; rgb(4, 7, 150)
Java: = new Color(4, 7, 150)
.NET: = Color.FromArgb (4, 7, 150);
Xojo: = rgb (4, 7, 150, 0);
openGL: = glColor3f (0.02f, 0.03f, 0.59f);
Swift: = UIColor(red:0.02, green:0.03, blue:0.59, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.02 green:0.03 blue:0.59 alpha:1.00000];


Color schemes with #040796


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: 97% has a #040796 saturation. Adding 97% + 10% = 100% saturation for our new color #000270. Decreasing 97% - 10% = 87% saturation for other monochromatic color #191BBD.

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

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: #040796 has a 239o angle. Adding 239o + 180o+30o = 89o for our first complementary color #509605. Decreasing 239o + 180o-30o = 29o for the second complementary color #964B05.

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.