Hi Thangaselvan,
You can implement this requirement with a couple of widgets
Place this Jquery in the snippet
(function ($) {
$(document).ready(function () {
$(".mx-name-container3 .mx-text").each(function () {
var hexCode = $(this).text().trim(); // Get the hex code from text
var parentContainer = $(this).closest(".changehexcode"); // Find the parent container
// Validate the hex code format and apply the background color dynamically
if (/^#[0-9A-F]{6}$/i.test(hexCode)) {
parentContainer.css("background-color", hexCode);
}
});
});
})(jQuery);
2. You can use this widget for adding dynamic color container https://marketplace.mendix.com/link/component/215411