aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Color.h
blob: a9d31ecabe094bb36391d214887fd2ec87cb0130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

class Color
{
private:
	int colour;

public:
	//Creates an opaque sRGB color with the specified red, green, and blue values in the range (0.0 - 1.0).
	Color( float r, float g, float b);
	Color( int r, int g, int b);

	static Color getHSBColor(float h, float s, float b);
	int getRGB();
};