All you have to do is to send request to our API. And then you will get a JSON response from API.
We want to check that #e785a8 is bright or dark...
Simply send request to https://mehow.ovh/icb/api/e785a8, where e785a8 have to be your color in hex.
Remember that your color cannot contain the # sign.
As response you will get json, which will looks like that...
{
"color_hex" : "e785a8",
"color_rgb" : "rgb(231,133,168)",
"bright_or_dark" : "bright",
"brightness" : 0.34787450980392
}