HtmlForgeX

API Reference

Enum

TablerColor

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Defines the standard Tabler color palette.

Inheritance

  • Enum
  • TablerColor

Values

public const TablerColor Blue #
HexColor("#066fd1")

Blue.

Value: 0
public const TablerColor Azure #
HexColor("#4299e1")

Azure.

Value: 1
public const TablerColor Indigo #
HexColor("#4263eb")

Indigo.

Value: 2
public const TablerColor Purple #
HexColor("#ae3ec9")

Purple.

Value: 3
public const TablerColor Pink #
HexColor("#d6336c")

Pink.

Value: 4
public const TablerColor Red #
HexColor("#d63939")

Red.

Value: 5
public const TablerColor Orange #
HexColor("#f76707")

Orange.

Value: 6
public const TablerColor Yellow #
HexColor("#f59f00")

Yellow.

Value: 7
public const TablerColor Lime #
HexColor("#74b816")

Lime.

Value: 8
public const TablerColor Green #
HexColor("#2fb344")

Green.

Value: 9
public const TablerColor Teal #
HexColor("#0ca678")

Teal.

Value: 10
public const TablerColor Cyan #
HexColor("#17a2b8")

Cyan.

Value: 11
public const TablerColor White #
HexColor("#ffffff")

White.

Value: 12
public const TablerColor Black #
HexColor("#000000")

Black.

Value: 13
public const TablerColor BlueLight #
HexColor("#e6f1fa")

Blue light.

Value: 14
public const TablerColor AzureLight #
HexColor("#ecf5fc")

Azure light.

Value: 15
public const TablerColor IndigoLight #
HexColor("#eceffd")

Indigo light.

Value: 16
public const TablerColor PurpleLight #
HexColor("#f7ecfa")

Purple light.

Value: 17
public const TablerColor PinkLight #
HexColor("#fbebf0")

Pink light.

Value: 18
public const TablerColor RedLight #
HexColor("#fbebeb")

Red light.

Value: 19
public const TablerColor OrangeLight #
HexColor("#fef0e6")

Orange light.

Value: 20
public const TablerColor YellowLight #
HexColor("#fef5e6")

Yellow light.

Value: 21
public const TablerColor LimeLight #
HexColor("#f1f8e8")

Lime light.

Value: 22
public const TablerColor GreenLight #
HexColor("#eaf7ec")

Green light.

Value: 23
public const TablerColor TealLight #
HexColor("#e7f6f2")

Teal light.

Value: 24
public const TablerColor CyanLight #
HexColor("#e8f6f8")

Cyan light.

Value: 25
public const TablerColor Gray50 #
HexColor("#f9fafb")

Gray 50.

Value: 26
public const TablerColor Gray100 #
HexColor("#f3f4f6")

Gray 100.

Value: 27
public const TablerColor Gray200 #
HexColor("#e5e7eb")

Gray 200.

Value: 28
public const TablerColor Gray300 #
HexColor("#d1d5db")

Gray 300.

Value: 29
public const TablerColor Gray400 #
HexColor("#9ca3af")

Gray 400.

Value: 30
public const TablerColor Gray500 #
HexColor("#6b7280")

Gray 500.

Value: 31
public const TablerColor Gray600 #
HexColor("#4b5563")

Gray 600.

Value: 32
public const TablerColor Gray700 #
HexColor("#374151")

Gray 700.

Value: 33
public const TablerColor Gray800 #
HexColor("#1f2937")

Gray 800.

Value: 34
public const TablerColor Gray900 #
HexColor("#111827")

Gray 900.

Value: 35
public const TablerColor Facebook #
HexColor("#1877f2")

Facebook.

Value: 36
public const TablerColor Twitter #
HexColor("#1da1f2")

Twitter.

Value: 37
public const TablerColor Linkedin #
HexColor("#0a66c2")

Linkedin.

Value: 38
public const TablerColor Google #
HexColor("#dc4e41")

Google.

Value: 39
public const TablerColor Youtube #
HexColor("#ff0000")

Youtube.

Value: 40
public const TablerColor Vimeo #
HexColor("#1ab7ea")

Vimeo.

Value: 41
public const TablerColor Dribbble #
HexColor("#ea4c89")

Dribbble.

Value: 42
public const TablerColor Github #
HexColor("#181717")

Github.

Value: 43
public const TablerColor Instagram #
HexColor("#e4405f")

Instagram.

Value: 44
public const TablerColor Pinterest #
HexColor("#bd081c")

Pinterest.

Value: 45
public const TablerColor Vk #
HexColor("#6383a8")

Vk.

Value: 46
public const TablerColor Rss #
HexColor("#ffa500")

Rss.

Value: 47
public const TablerColor Flickr #
HexColor("#0063dc")

Flickr.

Value: 48
public const TablerColor Bitbucket #
HexColor("#0052cc")

Bitbucket.

Value: 49
public const TablerColor Tabler #
HexColor("#066fd1")

Tabler.

Value: 50
public const TablerColor Default #
HexColor("#d1d5db")

Default.

Value: 51
public const TablerColor Primary #
HexColor("#066fd1")

Primary.

Value: 52
public const TablerColor Secondary #
HexColor("#64748B")

Secondary (neutral accent used by Tabler utilities like bg-secondary(-lt)).

Value: 53
public const TablerColor Success #
HexColor("#2fb344")

Success.

Value: 54
public const TablerColor Failed #
HexColor("#d63939")

Failed.

Value: 55
public const TablerColor Info #
HexColor("#4299e1")

Info.

Value: 56
public const TablerColor Warning #
HexColor("#f59f00")

Warning.

Value: 57
public const TablerColor Danger #
HexColor("#d63939")

Danger.

Value: 58
public const TablerColor Light #
HexColor("#f9fafb")

Light.

Value: 59
public const TablerColor Dark #
HexColor("#1f2937")

Dark.

Value: 60
public const TablerColor Transparent #
HexColor("#00000000")

Transparent.

Value: 61

Extension Methods

public static String ToCssRgb(TablerColor color) #
Returns: String

Returns the RGB component triplet for CSS custom properties (for example 87, 146, 214).

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public static String ToHex(TablerColor color) #
Returns: String

Returns the hexadecimal color code for the given TablerColor.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public static String ToTablerAlert(TablerColor color) #
Returns: String

Converts TablerColor to TablerAlert. Note: not all colors are valid for alerts.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
The color.
public static String ToTablerBackground(TablerColor color) #
Returns: String

Initializes or configures ToTablerBackground.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public static TablerBadgeColor ToTablerBadgeColor(TablerColor color) #
Returns: TablerBadgeColor

Converts a TablerColor into the closest TablerBadgeColor.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public static String ToTablerStatus(TablerColor color) #
Returns: String

Initializes or configures ToTablerStatus.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public static String ToTablerSteps(TablerColor color) #
Returns: String

Initializes or configures ToTablerSteps.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public static String ToTablerString(TablerColor color) #
Returns: String

Initializes or configures ToTablerString.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public static String ToTablerText(TablerColor color) #
Returns: String

Initializes or configures ToTablerText.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0