Skip to content
A simple API that converts color values
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Add license Jul 9, 2019 Add request URLs for color name, HEX and HSL Jul 18, 2019
index.js Add route for the API documentation (redirect) Jul 17, 2019
package.json Add a script that starts the dev mode Jul 9, 2019

ColorConverter API

API MIT License Code size open issues closed issues Developer


request   To convert the colors, use the following get requests. You will get the response in JSON format.

Convert RGB,25,112

    "colorname": "midnightblue",
    "hex": "191970",
    "hsl": {
        "hue": 240,
        "saturation": 64,
        "luminance": 27
    "rgb": {
        "red": 25,
        "green": 25,
        "blue": 112

Convert color name

Convert HEX

Convert HSL,64,27

Each of the following requests returns only one value:

Convert RGB to HSL,25,112

Convert HSL to RGB,64,27

Convert color name to RGB

Convert RGB to color name,25,112

Convert RGB to HEX,25,112

Convert HEX to RGB


Licensed under the MIT License.

© Peter R. Stuhlmann Webentwicklung. All rights reserved.

You can’t perform that action at this time.