Make the text foreground color cyan.
350515
def cyan(cls):
        ""
        wAttributes = cls._get_text_attributes()
        wAttributes &= ~win32.FOREGROUND_MASK
        wAttributes |=  win32.FOREGROUND_CYAN
        cls._set_text_attributes(wAttributes)
123576
public void setBrightTextColor(final Color COLOR) {
        if (null == brightTextColor) {
            _brightTextColor = COLOR;
            if (isAutoTextColor()) {
                adjustTextColors();
                redraw();
            }
        } else {
            brightTextColor.set(COLOR);
        }
    }
1371955
def color_text(text, color="none", bcolor="none", effect="none"):
    
    istty = False
    try:
        istty = sys.stdout.isatty()
    except:
        pass
    if not istty or not COLOR_ON:
        return text
    else:
        if not effect in COLOR_EFFET.keys():
            effect = "none"
        if not color in COLOR_CODE_TEXT.keys():
            color = "none"
        if not bcolor in COLOR_CODE_BG.keys():
            bcolor = "none"

        v_effect = COLOR_EFFET[effect]
        v_color = COLOR_CODE_TEXT[color]
        v_bcolor = COLOR_CODE_BG[bcolor]

        if effect == "none" and color == "none" and bcolor == "none":
            return text
        else:
            return "\033[%d;%d;%dm" % (v_effect, v_color, v_bcolor) + text + COLOR_RESET
756463
def scene_color(frames):
        """"""
        # "scene.color" <scene_id> <color>
        reader = MessageReader(frames)
        results = reader.string("command").uint32("scene_id").uint8_3("color").assert_end().get()
        if results.command != "scene.color":
            raise MessageParserError("Command is not 'scene.color'")
        return (results.scene_id, np.array([results.color[0]/255, results.color[1]/255, results.color[2]/255]))
593010
def color_parts(parts):
    """"""
    return parts._replace(
        title=Fore.GREEN + parts.title + Style.RESET_ALL,
        doi=Fore.CYAN + parts.doi + Style.RESET_ALL
    )
555212
def set_color_scheme(self, foreground_color, background_color):
        """"""
        self.ansi_handler.set_color_scheme(foreground_color, background_color)

        background_color = QColor(background_color)
        foreground_color = QColor(foreground_color)

        self.set_palette(background=background_color,
                         foreground=foreground_color)

        self.set_pythonshell_font()
560193
def bk_light(cls):
        ""
        wAttributes = cls._get_text_attributes()
        wAttributes |= win32.BACKGROUND_INTENSITY
        cls._set_text_attributes(wAttributes)
1151878
def _set_color(self, context, r, g, b, a):
        """"""
        if a < 1:
            context.set_source_rgba(r, g, b, a)
        else:
            context.set_source_rgb(r, g, b)
888969
def foreground_color(background_color)
      if color = (Color::RGB.from_html(background_color) rescue false) || color = Color::CSS[background_color]
        color.brightness > 0.5 ? "black" : "white"
      else
        "black"
      end
    end
631547
def green(cls):
        ""
        wAttributes = cls._get_text_attributes()
        wAttributes &= ~win32.FOREGROUND_MASK
        wAttributes |=  win32.FOREGROUND_GREEN
        cls._set_text_attributes(wAttributes)
1352466
public static function colorize($text, $fgcolor = null, $bgcolor = null)
    {
        $colors = '';
        if ($bgcolor) {
            $colors .= self::getBgColorString(self::getColorCode($bgcolor));
        }
        if ($fgcolor) {
            $colors .= self::getFgColorString(self::getColorCode($fgcolor));
        }
        if ($colors) {
            $text = $colors . $text . self::RESET;
        }
        return $text;
    }
45291
def set_colors(self, text='black', background='white'):
        
        if self._multiline: self._widget.setStyleSheet("QTextEdit {background-color: "+str(background)+"; color: "+str(text)+"}")
        else:               self._widget.setStyleSheet("QLineEdit {background-color: "+str(background)+"; color: "+str(text)+"}")
248383
def tr(text, kword, color):
    
    return re.sub(kword, colorize(BgColor.Null, Base.Null, color, kword), text)
785206
def white(cls):
        ""
        wAttributes = cls._get_text_attributes()
        wAttributes &= ~win32.FOREGROUND_MASK
        wAttributes |=  win32.FOREGROUND_GREY
        cls._set_text_attributes(wAttributes)
810777
def background_color(self, node, depth):
        """"""
        if self.color_mapping is None:
            self.color_mapping = {}
        color = self.color_mapping.get(node.key)
        if color is None:
            depth = len(self.color_mapping)
            red = (depth * 10) % 255
            green = 200 - ((depth * 5) % 200)
            blue = (depth * 25) % 200
            self.color_mapping[node.key] = color = wx.Colour(red, green, blue)
        return color
1092277
def TextForegroundForNode(self, node, depth=0):
        """"""
        if node == self.selectedNode:
            fg_color = wx.SystemSettings_GetColour(wx.SYS_COLOUR_HIGHLIGHTTEXT)
        else:
            fg_color = self.adapter.foreground_color(node, depth)
            if not fg_color:
                fg_color = wx.SystemSettings_GetColour(wx.SYS_COLOUR_WINDOWTEXT)
        return fg_color
704776
def set_color_scheme(self, foreground_color, background_color):
        """"""
        if dark_color(foreground_color):
            self.default_foreground_color = 30
        else:
            self.default_foreground_color = 37

        if dark_color(background_color):
            self.default_background_color = 47
        else:
            self.default_background_color = 40