Blog


Atom Feed

Nano a simple PHP Template & Translation Engine

Andreas Zettl | 3 minute read

The Nano template and translation classes give you a basic template and translation functionality for projects where more prominent frameworks might not be needed.
Read the complete article

Convert multiple RGB values to HSL with this REST API

Andreas Zettl | 2 minute read

In this article, I show you how to convert multiple color values from one format into another by using the Converting Colors REST Api, which I provide on RapidAPI.
Read the complete article

Say Hello to the Converting Colors REST API [Update]

Andreas Zettl | 2 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

The new color bucket

Andreas Zettl | 1 minute read

You maybe already noticed the bucket on the main page directly next to the color conversions, with this bucket, you can think of it as a shopping cart, you can browse through Converting Colors and add up to ten colors into your bucket.
Read the complete article

Extract dominant Colors from an Image
Andreas Zettl | 2 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

Manipulate the Colors of an Image with CSS
Andreas Zettl | 13 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 | 2 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 | 3 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