complimentary_colors 1.0.3

Dart native js
Flutter Android iOS web

An easy to use Dart package for calculating complimentary colors.

Complimentary Colors Build Status #

A Dart package for finding complimentary colors.

Installation #

  1. Add this to your package's pubspec.yaml file:
dependencies:
  complimentary_colors: any
  1. Get the package using your IDE's GUI or via command line with
$ pub get
  1. Import the complimentary_colors.dart file in your app
import 'package:complimentary_colors/complimentary_colors.dart';

Usage #

To get the complimentary color of a hex value

HexColor givenColor = new HexColor("FF0000");
HexColor complimentaryColor = CalculateComplimentaryColor.fromHex(givenColor)

To get the complimentary color of a hsl value

HslColor givenColor = new HslColor(270, 100, 100);
HslColor complimentaryColor = CalculateComplimentaryColor.fromHsl(givenColor)

To get the complimentary color of a rgb value

RgbColor givenColor = new RgbColor(270, 100, 100);
RgbColor complimentaryColor = CalculateComplimentaryColor.fromRgb(givenColor)
1
likes
110
pub points
68%
popularity

An easy to use Dart package for calculating complimentary colors.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

dokoeoko@gmail.com

License

GPL 3.0 (LICENSE)

Dependencies

color

More

Packages that depend on complimentary_colors