Changing the metadata bounding boxes color

So after i successfully sent and observed the bounding boxes getting displayed on the milestone smart client, i wanted to further customize the display by changing the bounding boxes’ color.

Thanks to the instructions i was given i was able to customize the title appearing above the bounding boxes but im still stuck on how to change the color of the bounding box.

Here is an example of the metadata im sending:

<tt:MetadataStream
	xmlns:tt="http://www.onvif.org/ver10/schema">
	<tt:VideoAnalytics>
		<tt:Frame UtcTime="2024-04-26T11:22:24.779+01:00" SourceStreamID="de64eda2-524d-4f49-a7dd-bc748cfaa914/28dc44c3-079e-4c94-8ec9-60363451eb41">
			<tt:Object ObjectId="1">
				<tt:Appearance>
					<tt:Shape>
						<tt:BoundingBox bottom="0.173075" right="0.208334" top="0.058176" left="0.000001" />
						<tt:CenterOfGravity x="0.104167" y="0.115625" />
						<tt:Extension>
							<BoundingBoxAppearance>
								<Line color="#FF0000" displayedThicknessInPixels="4" />
							</BoundingBoxAppearance>
						</tt:Extension>
					</tt:Shape>
					<tt:Extension>
						<Description x="0.3" y="0.8" bold="true" italic="true" fontFamily="Helvetica" color="#44808080">Breach</Description>
					</tt:Extension>
					<tt:Class>
						<tt:ClassCandidate>
							<tt:Type>Breach</tt:Type>
							<tt:Likelihood>0.584375</tt:Likelihood>
						</tt:ClassCandidate>
					</tt:Class>
				</tt:Appearance>
			</tt:Object>
		</tt:Frame>
	</tt:VideoAnalytics>
</tt:MetadataStream>

I want to know why this part of the code which is used to change the colors of the bounding boxes, does not get recognized:

<tt:Extension>
							<BoundingBoxAppearance>
								<Line color="#FF0000" displayedThicknessInPixels="4" />
							</BoundingBoxAppearance>
						</tt:Extension>

Please try with 8 digits so that you also have a alpha channel on the color.

Thanks for your answer,

I will try with 8 digits and see if it works.