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 #45f780 is bright or dark...
Simply send request to https://mehow.ovh/icb/api/45f780, where 45f780 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" : "45f780",
"color_rgb" : "rgb(69,247,128)",
"bright_or_dark" : "bright",
"brightness" : 0.2932862745098
}