public static HexFromState ( State state ) : string | ||
state | State | |
Результат | string |
public static string ToHex(this Light light) { return(HueColorConverter.HexFromState(light.State, light.ModelId)); }
public static string ToHex(this State state, string model = "LCT001") { return(HueColorConverter.HexFromState(state, model)); }