Color Hex Logo

#040cdb Color Hex

#040CDB
(4,12,219)
0 Favorites   0 Comments

Color spaces of #040cdb

RGB 412219
HSL0.660.960.44
HSV238°98°86°
CMYK 0.980.950.00   0.14
XYZ12.96775.403267.3773
Yxy5.40320.15120.0630
Hunter Lab23.244858.9024-155.5866
CIE-Lab27.853968.3763-94.8205

#040cdb color RGB value is (4,12,219).

#040cdb hex color red value is 4, green value is 12 and the blue value of its RGB is 219. Cylindrical-coordinate representations (also known as HSL) of color #040cdb hue: 0.66 , saturation: 0.96 and the lightness value of 040cdb is 0.44.

The process color (four color CMYK) of #040cdb color hex is 0.98, 0.95, 0.00, 0.14. Web safe color of #040cdb is #0000cc. Color #040cdb contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00001100 11011011
Octal 4 14 333
Decimal 4 12 219
Hex 4 C DB

RGB Percentages of Color #040cdb

%1.70
%5.11
%93.19

CMYK Percentages of Color #040cdb

%98
%95
%0
%14

Triadic Colors of #040cdb

#040cdb #db040c #0cdb04

Analogous Colors of #040cdb

#040cdb #6804db #0478db

Monochromatic Colors of #040cdb

#040cdb

Complementary Color

#040cdb #dbd304

#040cdb Color Preview on Black Background

Lorem ipsum dolor sit amet.

#040cdb Color Preview on White Background

Lorem ipsum dolor sit amet.

#040cdb Color CSS Codes

.mybgcolor {background-color:#040cdb; } 
.myforecolor {color:#040cdb; }
.mybordercolor {border:3px solid #040cdb; }

#040cdb Text Font Color

<p style="color:#040cdb">Text here</p>

This sample text font color is #040cdb
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#040cdb Background Color

<div style="background-color:#040cdb">
Div content here</div>

This div background color is #040cdb


#040cdb Border Color

<div style="border:3px solid #040cdb">
Div here</div>

This div border color is #040cdb


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(4,12,219, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #040cdb; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #040cdb;
  -webkit-box-shadow: 1px 1px 3px 2px #040cdb;
  box-shadow:         1px 1px 3px 2px #040cdb; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(4,12,219, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #040cdb">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #040cdb;
  -webkit-box-shadow: 1px 1px 3px 2px #040cdb;
  box-shadow:         1px 1px 3px 2px #040cdb;">
Div content here</div>

This div box has shadow with color #040cdb


Comments

No comments written yet.

Please login to write comment.