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 / Classifying colors wit...
Power Apps
Answered

Classifying colors with AI builder?

(0) ShareShare
ReportReport
Posted on by 11

(reposted from general discussions forum)

What's the best way to provide loose matching based on color words from free text descriptions?

The idea is to be able to score two different animal descriptions where the description is free text.

As an example, if one person describes a dog as chocolate and cream and the other describes a dog as wheat and brown.

Can Power AI be trained to recognise a heap of different color adjectives as brown, and a different heap as yellow, so that both of the above descriptions are identified as brown and yellow?

Would I be better off doing this parsing the descriptions with regex functions?

Categories:
I have the same question (0)
  • antoinec Profile Picture
    Microsoft Employee on at

    Hi Steve, You might be able to train a custom text classification model to classify broad descriptions in specific color buckets. It definitely won't be easy or practical but it's the best I can think of right now 🙂 You can find documentation at: https://docs.microsoft.com/en-us/ai-builder/text-classification-overview. It might be easier to just go with your other idea of creating a dictionary of colors and looking up the words to be honest.

  • Ashish2012 Profile Picture
    478 on at
  • Verified answer
    steverey Profile Picture
    11 on at

    Thanks for the responses.

    Being a n00b with Dynamics, I've opted for the regex solution.

    I can classify a custom entity to hold the regex expression and the corresponding colour, and loop through these with power automate. If I get no colour results at all, I can refer that instance for human review, which can result in the custom entity regex expression being extended.

    e.g.

    BROWN

    (?:auburn|brown|brunette|chestnut|chocolate|cocoa|coppery|liver|mahogany|russet|tan|tawny)

    BLACK

    (?:black|charcoal|night|pepper|raven|sable|soot)

    WHITE

    (?:ivory|milk|salt|snow|white)

    GREY

    (?:blue|concrete|grey|pewter|silver|steel)

    YELLOW

    (?:blonde|butter|cream|gold|honey|wheat|yellow)

    ORANGE

    (?:carrot|coral|flame|orange|salmon)

    RED

    (?:blood|cherry|claret|mahogany|red|russet|wine)

    GREEN

    (?:avocado|green|khaki|spinach|pea|verdigris)

    BLUE

    (?:aqua|blue|bluish|navy|silver)

    PURPLE

    (?:berry|lavender|magenta|mauve|plum|purple|velvet|violet)

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,009

#2
11manish Profile Picture

11manish 672

#3
Valantis Profile Picture

Valantis 628

Last 30 days Overall leaderboard