:
logo qtransform

  to  




#040028 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #040028
#040028

   In a RGB color space, hex #040028 is composed of 2% red, 0% green and 16% blue.
RGB color code is composed of a hexadecimal 04 red (4/255), a 00 green (0/255) and a 28 blue component (40/255). The decimal RGB color code is rgb(4,0,40)
In CMYK color space, it is composed of 90% cyan, 100% magenta, 0% yellow and 84% black.
It has a hue angle of 246o degrees, a saturation of 100% and a lightness of 8%.
Closest websafe color is: #000033 rgb (0, 0, 51).
twitter  facebook  whatsapp


Color conversion




#040028
rgb(4,0,40)
=2%
from 255
0%
from 255
16%
from 255
=90
from 100
100
from 100
0
from 100
84
from 100
R: 4
red
G: 0
green
B: 40
blue
C: 90
cyan
M: 100
magenta
Y: 0
yellow
K: 84
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #040028 has RGB values of R:4, G:0, B:40 and CMYK values of C:90, M:100, Y:0, K:84. Its decimal value is 262184.Binary code is 1000000000000101000
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color040028 #040028
RGB decimal4, 0, 40 rgb(4, 0, 40)
RGB %2, 0, 16 rgb(2%, 0%, 16%)
RGB Adobe10, 0, 43
CMYK %90, 100, 0, 84 90%, 100%, 0%, 84%
HSL246o, 100, 8 hsl(246o, 100%, 8%)
HSV (HSB)246o, 100%, 16% hsv(246o, 100%, 16%)
Web Safe color#000033 rgb (0, 0, 51)
XYZ0.433, 0.179 2.019
xyY0.16, 0.07, 0.18
Hunter-Lab4.23, 11.27, -26.55
CMY98%, 100%, 84%
Lab1.41, 8.34, -22.78
Binary color
04 00 28
100 0 101000

Shades and tints of #040028


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

Tint color variation #040028


Shade color variation


Tones of #040028
A tone is produced by adding gray to any pure hue. In this case, #100D31 is the less saturated color, and #545461 is the most saturated one.


Alternatives to #040028


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


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

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

HTML code

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



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

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

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



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


Color schemes with #040028


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: 100% has a #040028 saturation. Adding 100% + 10% = 100% saturation for our new color #000003. Decreasing 100% - 10% = 90% saturation for other monochromatic color #0F084F.

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

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: #040028 has a 246o angle. Adding 246o + 180o+30o = 96o for our first complementary color #102900. Decreasing 246o + 180o-30o = 36o for the second complementary color #291800.

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.