I am attempting to colour specific cells in a table. I have tried recommendations such as color only a cell of a table and Efficiently colouring block of table cells, but when I try the code, only a text appears in my table. My MWE (with help from Zarko and Mico) is shown below:
\documentclass[12pt]{article}
\usepackage[margin=3cm]{geometry}
\usepackage[font=scriptsize,
labelfont=bf]{caption}
\usepackage[xcdraw]{xcolor}
\usepackage{tabularray}
\usepackage{pdflscape}
\UseTblrLibrary{siunitx}
\usepackage{lipsum}
\begin{document}
\begin{table}[ht]
\begin{tblr}{width=\linewidth,
hlines, vlines,
colspec={*{12}{X[c,m]}},
colsep=4pt,
row{1}={ht=7ex},
row{2}={ht=5ex},
hspan=minimal
}
\SetCell[c=4]{c} I want this to align vertically
& & & & \SetCell[c=4]{c} I want this to align vertically
& & & & \SetCell[c=4]{c} I want this to align vertically
& & & \
\SetCell[c=4]{c} Left
& & & & \SetCell[c=4]{c} Center
& & & & \SetCell[c=4]{c} Right
& & & \
\SetCell[r=2]{c} {Same\ here}
& \SetCell[r=2]{c} {Same\ here}
& \SetCell[c=2]{c} {Ambient\ Conditions}
& & \SetCell[r=2]{c} {Same\ here}
& \SetCell[r=2]{c} {Same\ here}
& \SetCell[c=2]{c} {Ambient\ Conditions}
& & \SetCell[r=2]{c} {Same\ here}
& \SetCell[r=2]{c} {Same\ here}
& \SetCell[c=2]{c} {Ambient\ Conditions}
& \
& & RH & Temp & & & RH & Temp & & & RH & Temp \
A & 200 & 200 & 200 & A & 200 & 200 & 200 & A & 200 & 200 & 200 \
B & 200 & 200 & 200 & B & 200 & 200 & 200 & B & 200 & 200 & 200 \
C & 200 & 200 & 200 & C & 200 & 200 & 200 & C & 200 & 200 & 200 \
D & 200 & 200 & 200 & D & 200 & 200 & 200 & D & 200 & 200 & 200 \
E & 200 & 200 & 200 & E & 200 & 200 & 200 & E & 200 & 200 & 200 \
\end{tblr}
\end{table}
\end{document}
In this example, I want to colour "Left" in blue, "Center" in green and "Right" in red. Thank you so much.

