using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RichCreator.Utility.Structs { public struct ZTHsvFloatColor { /// /// /// /// 色相(0~1) /// 饱合度(0~1) /// 明度(0~1) public ZTHsvFloatColor(double h, double s, double v) { this.H = h; this.S = s; this.V = v; } /// /// 色相(0~1) /// public double H; /// /// 饱合度(0~1) /// public double S; /// /// 明度(0~1) /// public double V; public override string ToString() { return $"({H},{S},{V})"; } } }