HSVColor Struct

Summary

This struct represent a Color in HSV (Hue, Saturation, Value) For more information visit: https://en.wikipedia.org/wiki/HSL_and_HSV
Namespace
MahApps.Metro.Controls
Interfaces
Base Types
  • object
  • ValueType
graph BT Type-->Base0["ValueType"] Base0-->Base1["object"] Type-.->Interface0["IEquatable<HSVColor>"] Type["HSVColor"] class Type type-node

Syntax

public struct HSVColor : ValueType, IEquatable<HSVColor>

Constructors

Name Summary
HSVColor(Color) Creates a new HSV Color from a given Color
HSVColor(double, double, double, double) Creates a new HSV Color
HSVColor(double, double, double) Creates a new HSV Color

Properties

Name Value Summary
A double
Gets the Alpha channel.
Hue double
Gets the Hue channel.
Saturation double
Gets the Saturation channel
Value double
Gets the Value channel

Methods

Name Value Summary
Equals(HSVColor) bool
ToColor() Color
Gets the Color for this HSV Color struct