Rop.Drawing8.Colors 1.0.5

dotnet add package Rop.Drawing8.Colors --version 1.0.5                
NuGet\Install-Package Rop.Drawing8.Colors -Version 1.0.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rop.Drawing8.Colors" Version="1.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rop.Drawing8.Colors --version 1.0.5                
#r "nuget: Rop.Drawing8.Colors, 1.0.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Rop.Drawing8.Colors as a Cake Addin
#addin nuget:?package=Rop.Drawing8.Colors&version=1.0.5

// Install Rop.Drawing8.Colors as a Cake Tool
#tool nuget:?package=Rop.Drawing8.Colors&version=1.0.5                

Rop.Drawing.Colors

Features

Rop.Drawing.Colors is a group of structs and helpers to work with GDI+ colors

Structs

/// Colors in Float Values
public struct ColorF;
/// Colors in HSL Values
public struct ColorHSL;

Color helper

Helper class relative to Colors

public static Color DeltaHSL(this Color c, float deltah = 0, float deltas = 1, float deltal = 1);
public static ColorF Contrast(this ColorF c, float cont = 0.25f);
public static Color Contrast(this Color c, float cont = 0.25f);
public static ColorF DeltaHSL(this ColorF c, float deltah = 0, float deltas = 1, float deltal = 1);
public static Color MixColors(this Color c, Color n, float a = 0.5f);
public static bool IsTOrEmpty(this Color c);
public static Color IfTOrEmpty(this Color c, Color def);
public static double ColorDistance(Color e1, Color e2);
public static ColorF Solid(this ColorF a);
public static ColorF PreMult(this ColorF a);
public static ColorF Blend(ColorF a, ColorF b, Func<float, float, float> operation, bool premult = true);
public static ColorF BlendMix(ColorF a, ColorF b, Func<float, float, float> operation, float weightb = 1, bool premult = true);
public static ColorF Blend(ColorF a, ColorF b, Func<float, float, float, float> operation);
public static ColorF Multiply(ColorF a, ColorF b, float weightb = 1);
public static ColorF Screen(ColorF a, ColorF b, float weightb = 1);
public static ColorF Normal(ColorF a, ColorF b);
public static ColorF Add(ColorF a, ColorF b, float weightb = 1);
public static ColorF Sub(ColorF a, ColorF b, float weightb = 1);
public static ColorF Mix(ColorF a, ColorF b, float weightb = 1);
public static ColorHSL Blend(ColorHSL a, ColorHSL b, Func<float, float, float> operationH, Func<float, float, float> operationS, Func<float, float, float> operationL);
public static ColorHSL BlendMix(ColorHSL a, ColorHSL b, Func<float, float, float> operationH, Func<float, float, float> operationS, Func<float, float, float> operationL, float weightb = 1);
public static ColorHSL Hue(ColorHSL a, ColorHSL b, float weightb = 1);
public static ColorHSL Saturation(ColorHSL a, ColorHSL b, float weightb = 1);
public static ColorHSL Luminosity(ColorHSL a, ColorHSL b, float weightb = 1);
public static ColorF Hue(ColorF a, ColorF b, float weightb = 1);
public static ColorF Saturation(ColorF a, ColorF b, float weightb = 1);
public static ColorF Luminosity(ColorF a, ColorF b, float weightb = 1);
public static Color Hue(Color a, Color b, float weightb = 1);
public static Color Saturation(Color a, Color b, float weightb = 1);
public static Color Luminosity(Color a, Color b, float weightb = 1);

(C)2022 Ramón Ordiales Plaza

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Rop.Drawing8.Colors:

Package Downloads
Rop.Winforms8.KeyValueListComboBox

Create KeyValue ListBox and ComboBox

Rop.Winforms8.ColorSets

Helper classes for GDI+ Colors and KeyValueControls

Rop.Winforms8.MultiButton

Create array of buttons

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 107 6/14/2024
1.0.4 105 6/14/2024
1.0.3 109 6/14/2024
1.0.2 158 5/14/2024
1.0.1 124 5/12/2024