#pragma once #include #include #include struct HSV { float h; float s; float v; }; HSV RGB565toHSV(uint16_t color); uint16_t HSVtoRGB565(float h, float s, float v);