# Best method for controlling brightness?

**URL:** <https://forum.electromage.com/t/best-method-for-controlling-brightness/66>\
**Category:** Uncategorized\
**Created:** [August 21, 2019, 5:51pm UTC](https://forum.electromage.com/t/best-method-for-controlling-brightness/66 "2019-08-21T17:51:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flipcorp](https://forum.electromage.com/user_avatar/forum.electromage.com/flipcorp/32/24_2.png) [@flipcorp](https://forum.electromage.com/u/flipcorp)\
**Post date:** [August 21, 2019, 5:51pm UTC](https://forum.electromage.com/t/best-method-for-controlling-brightness/66/1 "2019-08-21T17:51:10Z")

</div>

What would be the best programatic method to control brightness? I assume I can adjust the V in the HSV() function, but is there another systematic way to manage brightness?

---

<div class="post-metadata">

**Author:** ![wizard](https://forum.electromage.com/user_avatar/forum.electromage.com/wizard/32/4_2.png) [@wizard](https://forum.electromage.com/u/wizard)\
**Post date:** [August 21, 2019, 8:15pm UTC](https://forum.electromage.com/t/best-method-for-controlling-brightness/66/2 "2019-08-21T20:15:37Z")

</div>

Yes, thats the best way to do it programatically. There’s also the global brightness slider in settings.

You can clamp it between 0 and 1 before applying your brightness modifier to avoid going over that level.
