/**
 * Given a color name and a map of color mappings,
 * find and return the hexadecimal color code of the given color.
 *
 * @param colorName A string representing the name of the color.
 * @param colorMapping A map containing color name as key and its hexadecimal code as value.
 * @return The hexadecimal color code of the given color name.
 */
fun findColorCode(colorName: String, colorMapping: Map<String, String>): String {

    // Check if the colorName exists in the colorMapping map
    return colorMapping[colorName] ?: "Color not found"
}
/**
 * Given a color name and a map of color mappings,
 * find and return the hexadecimal color code of the given color.
 *
 * @param colorName A string representing the name of the color.
 * @param colorMapping A map containing color name as key and its hexadecimal code as value.
 * @return The hexadecimal color code of the given color name.
 */
fun findColorCode(colorName: String, colorMapping: Map<String, String>): String {
/**
 * Given a color name and a map of color mappings,
 * find and return the hexadecimal color code of the given color.
 *
 * @param colorName A string representing the name of the color.
 * @param colorMapping A map containing color name as key and its hexadecimal code as value.
 * @return The hexadecimal color code of the given color name.
 */
fun findColorCode(colorName: String, colorMapping: Map<String, String>): String {

    // Check if the colorName exists in the colorMapping map
    return colorMapping[colorName] ?: "Color not found"
}