derived_colors 0.4.0 copy "derived_colors: ^0.4.0" to clipboard
derived_colors: ^0.4.0 copied to clipboard

Generate color variants.

derived_colors #

logo

Generate color variants.

Usage #

import 'package:derived_colors/derived_colors.dart';

final color = Color(0xFFFF0000);
final light = color.variants.light;
final dark = color.variants.dark;
final invert = color.variants.invert;

final hoverColor = color.subtle();

Thanks #

  • Bulma : inspired by Bulma's calculations.
23
likes
140
points
3.49k
downloads

Publisher

verified publisheraloisdeniel.com

Weekly Downloads

Generate color variants.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on derived_colors