• 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.SetMagenta

Extension Method in Components

Declaration

public static void SetMagenta(this ref Color color, float magenta)

Description

Sets the magenta component of the color to the given value using the CMYK color model.

Parameters

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