menu
arcane package
documentation
generated/arcane_shadcn/src/util.dart
ColorExtension extension
ColorExtension extension
dark_mode
light_mode
ColorExtension
extension
on
Color
Methods
getContrastColor
(
[
double
luminanceContrast
=
1
])
→
Color
scaleAlpha
(
double
factor
)
→
Color
toHex
(
{
bool
includeHashSign
=
false
,
bool
includeAlpha
=
true
})
→
String
toHSL
(
)
→
HSLColor
toHSV
(
)
→
HSVColor
withLuminance
(
double
luminance
)
→
Color
arcane package
documentation
generated/arcane_shadcn/src/util
ColorExtension extension
util library