16 lines
325 B
C#
16 lines
325 B
C#
namespace Palettizer
|
|
{
|
|
public struct Color
|
|
{
|
|
public byte R { get; set; }
|
|
public byte G { get; set; }
|
|
public byte B { get; set; }
|
|
public byte A { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{{R: {R.ToString()}, G: {G.ToString()}, B: {B.ToString()}, A: {A.ToString()}}}";
|
|
}
|
|
}
|
|
}
|