Tag: hsv

Colour Curve Correction
This is the third and final part of the tutorial dedicated to one of the most used Mathematical tools in Game Development: linear interpolation! In this part, we will explore how to use it to correct colour curves. You can find a link to download the C# scripts and the Unity package used at the…

The Secrets of Colour Interpolation
This post discusses about the tricky problem of colour interpolation, and explores possible solutions. Many software and engines offer readtouse functions to interpolate colours. In Unity, for instance, Color.Lerp is available and does its job pretty nicely. Use the interactive swatch below to see how Color.Lerp works. There’s nothing wrong in using these functions, as long as you know…

How to find the main colours in an image
—
In a previous post, I explained how I grabbed all the screenshots from #ScreenshotSaturday. If that was something relatively easy to implement, ordering them by colour is slightly trickier. The problem here is that there is no standard way to find the main colours in an image. Quite the opposite, different techniques will produce very different results. Long…