# How to gradient this color preview

**URL:** <https://discourse.processing.org/t/how-to-gradient-this-color-preview/19526>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [April 8, 2020, 5:37am UTC](https://discourse.processing.org/t/how-to-gradient-this-color-preview/19526 "2020-04-08T05:37:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![newbietot](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@newbietot](https://discourse.processing.org/u/newbietot)\
**Post date:** [April 8, 2020, 1:14pm UTC](https://discourse.processing.org/t/how-to-gradient-this-color-preview/19526/2 "2020-04-08T13:14:14Z")

</div>

please help me to fix this.... i want to make my color previewer will display the gradient black at bottom the gradient white at the top right corner, once i click the color slider into red .. the top left corner will display the color that i picked

 ![Screenshot_2020_0408_133121](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c6d4b8b3eb5fabcb0f63c5d5c8bf238763e9aa1b.png)

---

_[View the full topic](https://discourse.processing.org/t/how-to-gradient-this-color-preview/19526)._
