HtmlForgeX

API Reference

Class

HexColorAttribute

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Attribute
Modifiers sealed
Attributes
AttributeUsage(256, AllowMultiple = false, Inherited = false)

Specifies the hex color code for a TablerColor value.

Inheritance

  • Attribute
  • HexColorAttribute

Constructors

public HexColorAttribute(String hex) #

Initializes a new instance of the HexColorAttribute class.

Parameters

hex System.String requiredposition: 0
The hex color code.

Properties

public String Hex { get; } #

Gets the hex color code (e.g., "#ffffff").