Color Hex Logo

#0040ff Color Hex

#0040FF
(0,64,255)
4 Favorites   0 Comments

Color spaces of #0040ff

RGB 064255
HSL0.621.000.50
HSV225°100°100°
CMYK 1.000.750.00   0.00
XYZ19.883410.886895.6611
Yxy10.88680.15730.0861
Hunter Lab32.995249.8254-148.7998
CIE-Lab39.389258.0697-96.0542

#0040ff color RGB value is (0,64,255).

#0040ff hex color red value is 0, green value is 64 and the blue value of its RGB is 255. Cylindrical-coordinate representations (also known as HSL) of color #0040ff hue: 0.62 , saturation: 1.00 and the lightness value of 0040ff is 0.50.

The process color (four color CMYK) of #0040ff color hex is 1.00, 0.75, 0.00, 0.00. Web safe color of #0040ff is #0033ff. Color #0040ff contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000000 01000000 11111111
Octal 0 100 377
Decimal 0 64 255
Hex 0 40 FF

RGB Percentages of Color #0040ff

%0.00
%20.06
%79.94

CMYK Percentages of Color #0040ff

%100
%75
%0
%0

Triadic Colors of #0040ff

#0040ff #ff0040 #40ff00

Analogous Colors of #0040ff

#0040ff #3f00ff #00c0ff

Monochromatic Colors of #0040ff

#0040ff

Complementary Color

#0040ff #ffbf00

#0040ff Color Preview on Black Background

Lorem ipsum dolor sit amet.

#0040ff Color Preview on White Background

Lorem ipsum dolor sit amet.

#0040ff Color CSS Codes

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

#0040ff Text Font Color

<p style="color:#0040ff">Text here</p>

This sample text font color is #0040ff
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.


#0040ff Background Color

<div style="background-color:#0040ff">
Div content here</div>

This div background color is #0040ff


#0040ff Border Color

<div style="border:3px solid #0040ff">
Div here</div>

This div border color is #0040ff


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(0,64,255, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #0040ff; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #0040ff;
  -webkit-box-shadow: 1px 1px 3px 2px #0040ff;
  box-shadow:         1px 1px 3px 2px #0040ff; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #0040ff


Comments

No comments written yet.

Please login to write comment.