# Perspective graphic outline color darker than fill

**URL:** <https://forum.inductiveautomation.com/t/perspective-graphic-outline-color-darker-than-fill/59905>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [May 23, 2022, 1:14pm UTC](https://forum.inductiveautomation.com/t/perspective-graphic-outline-color-darker-than-fill/59905 "2022-05-23T13:14:35Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 23, 2022, 5:30pm UTC](https://forum.inductiveautomation.com/t/perspective-graphic-outline-color-darker-than-fill/59905/10 "2022-05-23T17:30:20Z")

</div>

> [@Code review: Modifying RGB by Manipulating HSV colors](https://forum.inductiveautomation.com/t/code-review-modifying-rgb-by-manipulating-hsv-colors/58295/4):
>
> That’s fair. I would expect better performance out of a more Java-based solution, but it’s very likely not going to be enough to actually matter. For posterity, a reimplementation of your method: def mulColorV(rgbHex, factV): from com.inductiveautomation.ignition.common import TypeUtilities from java.awt import Color javaColor = TypeUtilities.getColorFromString(rgbHex) hsl = Color.RGBtoHSB(javaColor.red, javaColor.green, javaColor.blue, None) hsl[2] = max(0.0, min(hsl[2] \* factV, 1.0)) h…

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-graphic-outline-color-darker-than-fill/59905)._
