• 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

Contrast.LowerContrastingColor

Extension Method in Contrast

Declaration

public static Color LowerContrastingColor(this Color color, Color a, Color b)

Description

Returns the color that has the lower contrast ratio to the current color.

Parameters

colorThe color to compare to.
aThe first color to test.
bThe second color to test.

Returns

ColorThe color that has the lower contrast ratio to the current color.