Blog

Atom Feed

📰 Change a CSS Variable with Javascript
In this video I show you how to change a CSS Variable with Javascript, we will change the background to a fixed value and the text color will be selectable via a color input field.
📰 Convert HEX to RGB with Javascript
In this article, we will learn how to convert a HEX color string like "1502BE" to the RGB Version "21, 2, 190".
📰 Convert HEX to RGB with PHP
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.
📰 Convert RGB to HEX with PHP
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.
📰 Create Color Images from HEX colors with PHP
Today I want to show you how to create some color images, similar to the ones I tweet under @ConvertingColor.
📰 How to Get Random Colors
Depending on the color format, there are different ways of getting a random color.
📰 Nano a simple PHP Template & Translation Engine
The Nano template and translation classes give you a basic template and translation functionality for projects where more prominent frameworks might not be needed.
📰 Convert multiple RGB values to HSL with this REST API
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.
📰 Say Hello to the Converting Colors REST API [Update]
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.
📰 The new color bucket
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.
📰 Extract dominant Colors from an Image
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.
📰 Manipulate the Colors of an Image with CSS
In CSS, there is the filter property, which is still a working draft but already entirely supported by all modern browsers.