ColorPaletteGenerator Pennington.MonorailCss
Generates OKLCH color palettes from hue values for use with MonorailCSS themes.
Methods
GenerateFromHue
#public static ImmutableDictionary<string, string> GenerateFromHue(double hue);Generates a primary and accent color palette based on a hue value in degrees (0-360)
Parameters
huedouble
Returns
ImmutableDictionary<string, string>Pennington.MonorailCss.ColorPaletteGenerator
namespace Pennington.MonorailCss;
/// Generates OKLCH color palettes from hue values for use with MonorailCSS themes.
public class ColorPaletteGenerator
{
/// Generates a primary and accent color palette based on a hue value in degrees (0-360)
public static ImmutableDictionary<string, string> GenerateFromHue(double hue);
}