Palettizer2/src/Color.cs

16 lines
259 B
C#
Raw Normal View History

2023-03-15 18:11:34 +00:00
namespace Palettizer2
{
public struct Color
{
2023-03-15 18:47:44 +00:00
public byte R;
public byte G;
public byte B;
public byte A;
2023-03-15 18:11:34 +00:00
public override string ToString()
{
2023-03-15 18:47:44 +00:00
return $"{{R: {R.ToString()}, G: {G.ToString()}, B: {B.ToString()}, A: {A.ToString()}}}";
}
2023-03-15 18:11:34 +00:00
}
}