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 #cf521e is bright or dark...
Simply send request to https://mehow.ovh/icb/api/cf521e, where cf521e 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" : "cf521e",
"color_rgb" : "rgb(207,82,30)",
"bright_or_dark" : "dark",
"brightness" : 0.55510980392157
}