# How to create a slider that a user can adjust to change the color of a 3D plot?

**URL:** <https://community.plotly.com/t/how-to-create-a-slider-that-a-user-can-adjust-to-change-the-color-of-a-3d-plot/54393>\
**Category:** 📊 Plotly Python\
**Created:** [July 2, 2021, 4:05am UTC](https://community.plotly.com/t/how-to-create-a-slider-that-a-user-can-adjust-to-change-the-color-of-a-3d-plot/54393 "2021-07-02T04:05:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LemonTea](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@LemonTea](https://community.plotly.com/u/LemonTea)\
**Post date:** [July 2, 2021, 4:05am UTC](https://community.plotly.com/t/how-to-create-a-slider-that-a-user-can-adjust-to-change-the-color-of-a-3d-plot/54393/1 "2021-07-02T04:05:23Z")

</div>

Typically, the color of a 3D map (contour or surface) is assigned by the value of one of the 3 parameters. But can I add a fourth parameter that can be adjusted in real-time using a ‘slider’ and that will change the color (or say heat map) of the entire surface plot? P.S. I need to use Plotly in Python
