kandinsky 1.0.0 copy "kandinsky: ^1.0.0" to clipboard
kandinsky: ^1.0.0 copied to clipboard

outdated

A tiny color library

example/kandinsky_example.dart

import 'package:kandinsky/kandinsky.dart';

void main() {
  var darkenHexColor = darkenHex(0.5, '#6699CC');
  print('my darken hex color: ${darkenHexColor}');

  var lightenHexColor = lightenHex(0.5, '#06795C');
  print('my lighten hex color: ${lightenHexColor}');

  var darkenRgbColor = darkenRgb(0.5, [180, 40, 20]);
  print('my darken rgb color: ${darkenRgbColor}');

  var lightenRgbColor = lightenRgb(0.5, [155, 90, 60]);
  print('my lighten rgb color: ${lightenRgbColor}');
}