:
logo qtransform

  to  




#040C0C color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #040C0C
#040C0C

   In a RGB color space, hex #040C0C is composed of 2% red, 5% green and 5% blue.
RGB color code is composed of a hexadecimal 04 red (4/255), a 0C green (12/255) and a 0C blue component (12/255). The decimal RGB color code is rgb(4,12,12)
In CMYK color space, it is composed of 67% cyan, 0% magenta, 0% yellow and 95% black.
It has a hue angle of 180o degrees, a saturation of 50% and a lightness of 3%.
Closest websafe color is: #000000 rgb (0, 0, 0).
twitter  facebook  whatsapp


Color conversion




#040C0C
rgb(4,12,12)
=2%
from 255
5%
from 255
5%
from 255
=67
from 100
0
from 100
0
from 100
95
from 100
R: 4
red
G: 12
green
B: 12
blue
C: 67
cyan
M: 0
magenta
Y: 0
yellow
K: 95
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #040C0C has RGB values of R:4, G:12, B:12 and CMYK values of C:67, M:0, Y:0, K:95. Its decimal value is 265228.Binary code is 1000000110000001100
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color040C0C #040C0C
RGB decimal4, 12, 12 rgb(4, 12, 12)
RGB %2, 5, 5 rgb(2%, 5%, 5%)
RGB Adobe15, 20, 20
CMYK %67, 0, 0, 95 67%, 0%, 0%, 95%
HSL180o, 50, 3 hsl(180o, 50%, 3%)
HSV (HSB)180o, 67%, 5% hsv(180o, 67%, 5%)
Web Safe color#000000 rgb (0, 0, 0)
XYZ0.248, 0.315 0.396
xyY0.26, 0.33, 0.32
Hunter-Lab5.61, -1.66, -0.58
CMY98%, 95%, 95%
Lab2.83, -2.2, -0.79
Binary color
04 0C 0C
100 1100 1100

Shades and tints of #040C0C


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

Tint color variation #040C0C


Shade color variation


Tones of #040C0C
A tone is produced by adding gray to any pure hue. In this case, #101818 is the less saturated color, and #545858 is the most saturated one.


Alternatives to #040C0C


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


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

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

HTML code

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



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

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

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



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


Color schemes with #040C0C


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: 67% has a #040C0C saturation. Adding 67% + 10% = 77% saturation for our new color #000000. Decreasing 67% - 10% = 57% saturation for other monochromatic color #163333.

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: #040C0C has a 180o angle. Adding 180o + 180o = 360oo for our new complementary color #0D0404.

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: #040C0C has a 180o angle. Adding 180o + 180o+30o = 30o for our first complementary color #0D0804. Decreasing 180o + 180o-30o = 330o for the second complementary color #0D0408.

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.