It is virtually impossible to tell what you really want: you give no code and a description which doesn't make much sense. Apparently, you want to split words into a bit in a coloured box and a bit not in a coloured box, where the word being split is inexplicably always text. Oh, well.

Looks bizarre to me, but I suppose it takes all sorts, if not necessarily the liquorice kind.
\documentclass[tikz,border=10pt,multi,dvipsnames,svgnames,x11names]{standalone}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
my label/.style={
label={[font=\sffamily]right:{#1}},
},
for tree={% addaswyd o gôd Gonzalo Medina: http://tex.stackexchange.com/a/270761/
folder,
font=\sffamily,
text=white,
minimum height=0.75cm,
if level=0{fill=ForestGreen}{fill/.wrap pgfmath arg={SlateBlue#1}{int(4-(mod((level()-1),4)))}},
rounded corners=4pt,
grow'=0,
edge={ForestGreen,rounded corners,line width=1pt},
fit=band,
},
before typesetting nodes={
for tree={
split option={content}{:}{content,my label},
}
}
[tex:t1
[tex:t1.1
[tex:t1.1.1
[tex:t1.1.1.1
[tex:t1.1.1.1.1]
[tex:t1.1.1.1.2]
[tex:t1.1.1.1.3]
]
]
[tex:t1.1.2
[tex:t1.1.2.1]
]
[tex:t1.1.3
[tex:t1.1.3.1]
]
]
[tex:t1.2
[tex:t1.2.1]
[tex:t1.2.2]
]
]
\end{forest}
\end{document}