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

outdated

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.derive();

Thanks #

  • Bulma : inspired by Bulma's calculations.