static uint32_t GreyscaleToRGB8(Luminosity8 luminosity) { const unsigned value = luminosity.GetLuminosity(); return value | (value << 8) | (value << 16) | (value << 24); }
constexpr uint8_t GetLuminosity() const { return luminosity.GetLuminosity(); }