Blog

Atom Feed

Extract dominant Colors from an Image

Andreas Zettl | 3 minute read

In this blog post, I show you how to extract the dominant colors from an image with the help of ImageMagick. I use ImageMagick version 7.0.9, which you can download from imagemagick.org.
Read the complete article



Say Hello to the Converting Colors REST API

Andreas Zettl | 3 minute read

For a long time, I already offered the possibility to download the conversions and harmonies via a JSON and XML URL. The Main Problem with this was that the URLs were not really developer-friendly.
Read the complete article

Manipulate the Colors of an Image with CSS

Andreas Zettl | 14 minutes read

In CSS, there is the filter property, which is still a working draft but already entirely supported by all modern browsers.
Read the complete article

Convert HEX to RGB with PHP

Andreas Zettl | 3 minute read

To convert a HEX string like "#77CCAA" or "#7ca" to the RGB Version "rgb(119, 204, 170)" we first need to remove the "#" from the string. After this we need to handle the two different cases, standard and shorthand.
Read the complete article

Convert RGB to HEX with PHP

Andreas Zettl | 4 minute read

To convert an RGB string like "rgb(114, 193, 44)" to HEX we first need to get the three color values for red, green and blue out of the string, in this article we only talk about RGB strings with the integer value representation, the below sample will not work for three percentage values.
Read the complete article