:
logo qtransform

  to  




#040F1D color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #040F1D
#040F1D

   In a RGB color space, hex #040F1D is composed of 2% red, 6% green and 11% blue.
RGB color code is composed of a hexadecimal 04 red (4/255), a 0F green (15/255) and a 1D blue component (29/255). The decimal RGB color code is rgb(4,15,29)
In CMYK color space, it is composed of 86% cyan, 48% magenta, 0% yellow and 89% black.
It has a hue angle of 213.6o degrees, a saturation of 76% and a lightness of 6%.
Closest websafe color is: #000033 rgb (0, 0, 51).
twitter  facebook  whatsapp


Color conversion




#040F1D
rgb(4,15,29)
=2%
from 255
6%
from 255
11%
from 255
=86
from 100
48
from 100
0
from 100
89
from 100
R: 4
red
G: 15
green
B: 29
blue
C: 86
cyan
M: 48
magenta
Y: 0
yellow
K: 89
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #040F1D has RGB values of R:4, G:15, B:29 and CMYK values of C:86, M:48, Y:0, K:89. Its decimal value is 266013.Binary code is 1000000111100011101
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color040F1D #040F1D
RGB decimal4, 15, 29 rgb(4, 15, 29)
RGB %2, 6, 11 rgb(2%, 6%, 11%)
RGB Adobe16, 22, 34
CMYK %86, 48, 0, 89 86%, 48%, 0%, 89%
HSL213.6o, 76, 6 hsl(213.6o, 76%, 6%)
HSV (HSB)214o, 86%, 11% hsv(214o, 86%, 11%)
Web Safe color#000033 rgb (0, 0, 51)
XYZ0.443, 0.456 1.227
xyY0.21, 0.21, 0.46
Hunter-Lab6.75, 0.26, -6.66
CMY98%, 94%, 89%
Lab4.01, -0.62, -10.27
Binary color
04 0F 1D
100 1111 11101

Shades and tints of #040F1D


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

Tint color variation #040F1D


Shade color variation


Tones of #040F1D
A tone is produced by adding gray to any pure hue. In this case, #101A27 is the less saturated color, and #54585E is the most saturated one.


Alternatives to #040F1D


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #040F1D
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #040F1D;



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

text shadow with RGB values

HTML code

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

CSS code with RGB

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



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


Color schemes with #040F1D


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: 86% has a #040F1D saturation. Adding 86% + 10% = 96% saturation for our new color #000000. Decreasing 86% - 10% = 76% saturation for other monochromatic color #102642.

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: #040F1D has a 214o angle. Adding 214o + 180o = 34oo for our new complementary color #1C1204.

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: #040F1D has a 214o angle. Adding 214o + 180o+30o = 64o for our first complementary color #1A1C04. Decreasing 214o + 180o-30o = 4o for the second complementary color #1C0604.

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.