the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 15 lines 302 B view raw
1#pragma once 2 3class Color 4{ 5private: 6 int colour; 7 8public: 9 //Creates an opaque sRGB color with the specified red, green, and blue values in the range (0.0 - 1.0). 10 Color( float r, float g, float b); 11 Color( int r, int g, int b); 12 13 static Color getHSBColor(float h, float s, float b); 14 int getRGB(); 15};