@extends('layouts.master') @section('title') Color Palette Generator @stop {{-- Load dropzone custom css for this view to format the dropzone box. --}} @section('head') @stop @section('content')

Color Palette From Image Generator

Use this generator to create a color palette from either a random image or one that you upload.

Go Back

Use a random image:

Surprise me!


Or upload your own picture:

[must be an image file less than 3MB in size]

Generate Palette!

Source Image:

{{-- Check for errors on file upload before assuming there's an image to display --}} @if(count($errors) > 0)

{!! $errors[0] !!}

@else Image


Color Palette:


{!! $colors[0] !!}

{!! $colors[1] !!}

{!! $colors[2] !!}

{!! $colors[3] !!}

{!! $colors[4] !!}
@endif @stop {{-- Utilize dropzone js and the custom script to handle the file upload process --}} @section('body') @stop