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 / Multicolor in button/r...
Power Apps
Answered

Multicolor in button/rectangle/container in PowerApps

(0) ShareShare
ReportReport
Posted on by 2

Hi Everyone,

I am building an app where I am trying to implement a fade color(Kind of multicolor) in a rectangle/container/component screen. Need help in implementing the same.

Below is the color I am trying to achieve
Figma code :- background: linear-gradient(208.25deg, #491370 27.11%, #7C27BE 76.43%, #AB36F6 117.55%, #C58AF8 145.12%);
Screenshot 2024-01-17 184616.png

Categories:
I have the same question (0)
  • Verified answer
    Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @Deva_Raj_R 

     

    Is this what you are after?

    AmDev_0-1705498785795.png

     

    I have put the following into a html text control, with control padding reduced to 0.

     

     

    "<div style='margin:0px; width:"&Self.Width-0&"px; height:"&Self.Height-1&"px;background: linear-gradient(208.25deg, #491370 27.11%, #7C27BE 76.43%, #AB36F6 117.55%, #C58AF8 145.12%)'></div>"

     

     

    Hope this helps

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard