• Manual
  • Scripting API
  • Changelog
  • License
🏷️ Namespaces
  • Zigurous.ColorPro
  • Zigurous.ColorPro.Utils
🧱 Classes
  • Accessibility
  • Adjustment
  • Arithmetic
  • Averaging
  • Blending
  • ChannelMixer
  • ColorBlindness
  • ColorPalette
  • ComponentModelExtensions
  • Components
  • Contrast
  • Conversion
  • ConversionExtensions
  • Equality
  • Gradients
  • Harmonies
  • Hex
  • IlluminantExtensions
  • Luminance
  • MaterialPalette
  • Mixing
  • MixingModelExtensions
  • Processors
  • Random
  • SignalEncodingExtensions
  • Temperature
🗂️ Structs
  • ARGB
  • ARGB255
  • CIELAB
  • CIELCh_ab
  • CIELCh_uv
  • CIELUV
  • CIEUCS
  • CIEUVW
  • CIEXYZ
  • CIExyY
  • CMYK
  • HSB
  • HSI
  • HSL
  • HSV
  • HunterLab
  • LMS
  • LumaCoefficients
  • RGB
  • RGB255
  • RGBA
  • RGBA255
  • Tristimulus
  • YCbCr
  • YIQ
  • YPbPr
  • YUV
🎚️ Interfaces
  • IComponentModel
  • IComponentModel<T>
  • IComponentModelEncoded
  • IComponentModelEncoded<T>
📋 Enums
  • Accessibility.Requirement
  • BlendMode
  • ColorVision
  • ColorWheelDivision
  • ComponentModel
  • Illuminant
  • MixingModel
  • SignalEncoding
  • StandardObserver
🗣️ Delegates
  • Blending.BlendFunction

ComponentModelExtensions.To

Extension Method in ComponentModelExtensions

Declaration

public static IComponentModel To(this Color color, ComponentModel model)

Description

Converts the color to the specified component model.

Parameters

colorThe color to convert.
modelThe component model to convert to.

Returns

IComponentModelThe converted component model of the color.