# Changing the Vessel or Cylindrical Tank Stroke Color in Perspective

**URL:** <https://forum.inductiveautomation.com/t/changing-the-vessel-or-cylindrical-tank-stroke-color-in-perspective/86278>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 23, 2024, 5:53pm UTC](https://forum.inductiveautomation.com/t/changing-the-vessel-or-cylindrical-tank-stroke-color-in-perspective/86278 "2024-02-23T17:53:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Hensley](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@Andrew\_Hensley](https://forum.inductiveautomation.com/u/Andrew_Hensley)\
**Post date:** [February 23, 2024, 5:53pm UTC](https://forum.inductiveautomation.com/t/changing-the-vessel-or-cylindrical-tank-stroke-color-in-perspective/86278/1 "2024-02-23T17:53:35Z")

</div>

In Perspective, the Vessel & Cylindrical Tanks have the option to adjust the StrokeWidth, but not the StrokeColor. Is there a way to change the StrokeColor somehow? Default they appear to be a shade of grey, I am wanting to change to black.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 23, 2024, 6:22pm UTC](https://forum.inductiveautomation.com/t/changing-the-vessel-or-cylindrical-tank-stroke-color-in-perspective/86278/2 "2024-02-23T18:22:39Z")

</div>

I have bad news, I have good news, and I have more bad news.

**Bad news:**  
We don't expose the stroke color directly as a prop and applying it through `style` isn't going to get you what you want.

**Good news:**  
You can manage the stroke within the `stylesheet.css` resource available in versions 8.1.22 and newer with the following rule(s):

```CSS
.ia_cylindricalTankComponent __tank, .ia_cylindricalTankComponent__ liquid {
	stroke: #000000;
}

```

![Screenshot 2024-02-23 at 10.18.13 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/5/b574746a26b9351d7845e06f7c30435dcbc36b60.png)

**More bad news:**  
Note that I also applied this to the _liquid_ piece as part of a shared rule. This could look a little funky because the liquid is overlayed _on top of_ the actual container. If you split the shared rule into two separate rules, the liquid color will ALWAYS be used on top of the tank.

Shared rule, same color (not terrible):  
 ![Screenshot 2024-02-23 at 10.20.27 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/1/d15b24575f64c63095e3a53a69e789294abddac1.png)

Split rules, different colors (not great):  
 ![Screenshot 2024-02-23 at 10.20.47 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/5/e50374e0009586c58a7c4a5fd2bec9a6f33b791f.png)
