Parameters
- red
- The red component value for the color. Valid values are 0 through 255.
- green
- The green component value for the color. Valid values are 0 through 255.
- blue
- The blue component value for the color. Valid values are 0 through 255.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.ArgumentException | red, green or blue is less than 0 or greater than 255. |
ColorProperty colorProperty = new ColorProperty(255, 165, 0);