web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Concatenate strings wi...
Power Apps
Answered

Concatenate strings with different colors

(0) ShareShare
ReportReport
Posted on by 16

Hello, 

 

I have a very simple question, how to concatenate strings values and have them displayed in different colors in a label. 

Example:

Concatenate("Test1","Test2")

 

How do I get Test1 to display Red and Test 2 to display Blue both in the same label?

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sharpmachine555 

    You cannot do this in a Label.  A label only is one color.

     

    You could use an HTML text control however.  In which case your HtmlText property would be this:

    "<font color=red>Test1</font><font color=blue>Test2</font>"

    This will give you what you are looking for.

     

    I hope this is helpful for you. 

  • sharpmachine555 Profile Picture
    16 on at

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard