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 / Having two colors in o...
Power Apps
Answered

Having two colors in one label

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is it possible to make the "*" Red and keep the "Design Number" blue?

rww.png
Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Change the Color property of the star to this

    Red


    Then change the Color property of Design Number to this

    Blue

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Simply way is to create two different labels within the datacard. One with blue and one with red. Rather than one label and trying to have two different colors in that one label (which may be impossible)

  • Christopher S Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    From what I can see, you have only one label, this is not possible in this scenario. Best way to do it is to have a secondary label that you can individually setup the color to be red.

     

    Best Regards

    --

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions help users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous @chsanche 

    Having two colours in one control is not impossible: the HTML text control can do this.  I suggest using two separate controls because it is simpler.  But if you must have them both in a single-control put this code in the Text property of the HTML control.

     

    "<b><font color=""red"">* </font><font color=""blue"">Design Number</font></b>"

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Do you want to make the "*" Red and keep the "Design Number" blue?

    The most simple solution is add two label controls(one for “*”,one for “Design Number”)

    The other way is using HtmlText control. This is a control with a high degree of freedom, but the premise of using it is that you need to be familiar with the Hyper Text Markup Language.

    I’ve made a test for your reference:

    1\add a HtmlText control:

    HtmlText:

     

    "<b><font color=red>*</font><font color=blue>Design Number</font></b>"

     

    I think these links will help you a lot:

    HTML text control in Power Apps

    HTML Tutorial

    Best Regards,

    Bof

    1.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard