• 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

Components.SetSaturationL

Extension Method in Components

Declaration

public static void SetSaturationL(this ref Color color, float saturation)

Description

Sets the saturation component of the color to the given value using the HSL color model.

Parameters

colorThe color to set the component on.
saturationThe value to set the component to in the range [0..1].