The only thing HEX shorthand is good for is web-safe colors.
This is significant only if you’re strict about code optimization, though. HEX has a slight advantage over RGB: it’s compact-even more so if you’re use the shorthand (three values instead of six). I’m funny that way: I can figure out a color with values from 0–255 or 0–100% much faster than one with values from 00–99 or aa–ff. I’m a human being with 10 fingers, so imagining colors that use base-10 values is easier than imagining ones that use base-sixteen values. Still, I prefer trying out colors in RGB. HEX and RGB systems can define the millions of colors available on your screen equally well:Īll of these color value settings produce the same result. It’s just that most developers (and designers) got used to defining colors in HEX and have had no reason to change. RGB color values are supported in every browser you can think of, so they’re nothing new. Some forward-thinking websites, such as the impressive 24 Ways to Impress Your Friends, are already playing around with RGBa for text and background color effects-and the results are great.Ģ uses opacity and RGBa to create a cool layered design.ĭespite what some of the developers I’ve been sparring with recently might think, RGB has been around on the web for a while. What will happen is that color values will be defined in new ways, the entire spectrum of opacity levels will be added and gradients based on pure CSS rather than images will be thrown in, too. No, new hues will not be added to the rainbow. CSS3 has arrived, and your palette is about to get a whole lot bigger.Ĭompared to what’s coming, it’s sas though designers have been color-blind, working with only a small part of the chromatic spectrum. Perhaps you’ve been playing around with hexadecimal color values since you were a wee web-babe if you were, get ready to to grow up fast. Place it in your own CSS code to get the exact same gradient in your own web design.The way you handle color in your web designs is about to change. If you're happy with your gradient, get your CSS code by copy-pasting the generated CSS color gradient code. The third slider switches from linear to radial mode. You can use this to simulate where the light is coming from. The second slider controls the rotation of the color gradient. The first slider controls the amount of gradient. When you've selected a color, you can drag the sliders to adjust the gradient. And the intense style creates an intense, deep and rich color gradient. The rainbow style is perfect for lighter colors, to create a mother-of-pearls look. The deep style takes that concept a bit further and adds more hues to the color spectrum. Perfect to add some shine to your colors.
The light style generates a color gradient that looks like it's being highlighted by a light source.
Our CSS background gradient generator automatically creates a color gradient based on your selected color. There's a lot of color science going on behind the scenes, but rest assured that your color gradient always looks good. You just have to select a single color, and our gradient generator automatically generates a nice looking gradient based on that.
Our color gradient generator makes use of the color gradient algorithms of our logo maker My Brand New Logo, which automatically creates good-looking and well-balanced color gradients. This requires design experience and a good eye for color harmony. Normally a designer hand-picks two or more colors to make a color gradient. A radial color gradient blends colors in a circular fashion and results in a color transition that radiates from an certain point. A linear color gradient blends colors in a straight line and results in a progressive color transition from one point to another. In CSS code for websites, you can define linear and radial gradients. Color gradients can consist of two or more used-defined colors. Usually, a gradient is defined by two user-defined colors, and the computer automatically calculate all colors in between. A color gradient is a gradual blend between two or more colors.