Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aloisdeniel/derived_colors

Generate color variants.
https://github.com/aloisdeniel/derived_colors

color flutter generate variants

Last synced: 12 days ago
JSON representation

Generate color variants.

Awesome Lists containing this project

README

        

# derived_colors

![logo](https://github.com/aloisdeniel/derived_colors/raw/master/logo.png)

Generate color variants.

## Usage

```dart
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](https://bulma.io/) : inspired by Bulma's calculations.