How can I change outline color of billboard?

I want to change outline color of billboard.

If I set color property of billboard it change the fill color of billboard not the outline.
I set the color property of billboard to “Sky” It applied to fill color of billboard and outline color is still black, I want color to get applied on outline.
See the “Image 2” Image 2

So is there anything to change the outline color of billboard?

If I understand the question correctly. I think it’s easier to change the image itself. Each color has its own css code, if we talk about Color. Open Photoshop, copy the color code and paint over.

No I can’t change the image It is being used in different places in project, I want to change the cesium billboard.

Can you show the CesiumJS code you’re using currently to add the outline to your billboards? If you can share a Sandcastle example if your scene that would help. See: How to share custom Sandcastle examples

I am passing attached image to the billboard.

and using below code to add billboard.

var iconEntity = viewer.dataSources._dataSources[0].entities.add({
id: “xyz”,
position: Cesium.Cartesian3.fromDegrees(latLngArray[0], latLngArray[1]),
billboard: {
image: “~/images/Tactical/MissionGraphics/Default/Air%20Assault.svg”,
width: 55,
height: 55,
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
verticalOrigin: Cesium.VerticalOrigin.CENTER,
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
alignedAxis: Cesium.VelocityVectorProperty(Cesium.Cartesian3.fromDegrees(latLngArray[0], latLngArray[1]))

As attached image contains arrow, i want to apply color on that. Please suggest. Thanks!

SVG images are rasterized in order to be drawn into the 3D scene. This means you can’t alter them the way you may normally interact with the SVG, like changing the outline and fill color.

What you will need to do is change the SVG itself before creating the billboard (or every time you change the color, you’ll update the image, which will recreate the billboard). You could modify the SVG before passing it to CesiumJS using a JavaScript library like this: