Skip to content

andrius-k/color-palette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-palette

Android's Palette API implementation for Xamarin.iOS. This libraty allows you to extract an array of colors from single image.

Available colors

  • Muted Color
  • Vibrant Color
  • Light Muted Color
  • Light Vibrant Color
  • Dark Muted Color
  • Dark Vibrant Color

Samples

Background color is MutedColor, Title is VibrantColor and smaller text is LightVibrantColor.

Alt text Alt text Alt text Alt text Alt text Alt text

Usage

var palette = new ColorPaletteGenerator();
var image = UIImage.FromBundle ("Images/sampleImage.jpeg");
palette.Generate (image);

// Use generated colors
Something.Color = palette.MutedColor;

About

Android's Palette API implementation for Xamarin.iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages