Operator implicit operator
- Namespace
- Sccg
- Assembly
- Sccg.dll
implicit operator Color(string)
Initialize a new instance of Color with the specified hex code.
public static implicit operator Color(string color)
Parameters
color
string
Returns
Exceptions
- ArgumentException
hexCode
is invalid hex code style.
implicit operator Color((byte, byte, byte))
Initialize a new instance of Color with the specified RGB values.
public static implicit operator Color((byte, byte, byte) rgb)