Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/aloisdeniel/derived_colors
- Owner: aloisdeniel
- License: mit
- Created: 2020-03-24T07:02:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T12:46:09.000Z (about 2 years ago)
- Last Synced: 2024-10-11T22:43:07.966Z (28 days ago)
- Topics: color, flutter, generate, variants
- Language: Dart
- Homepage:
- Size: 154 KB
- Stars: 63
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.