About 6,730,000 results
Open links in new tab
  1. How can I use Ruby to colorize the text output to a terminal?

    Using Ruby, how can I perform background and foreground text colorization for output in the terminal? I remember, when programming Pascal we all used to write our own textcolor(…) …

  2. ruby - How can I change the text color in the windows command …

    However, you can change the foreground color without writing an escape sequence, for example by invoking a Win32 API function. I don't know how to do this sort of thing in Ruby off the top …

  3. How to output my ruby commandline text in different colours

    Aug 3, 2016 · I was thinking of the ruby command line text when I asked my question back in 2010. The question has over 11,000 views and a stack of external links. I wouldn't have …

  4. Ruby on Rails - How to print log messages in color

    Ruby on Rails - How to print log messages in color Asked 11 years, 4 months ago Modified 4 years, 9 months ago Viewed 21k times

  5. rubygems - Printing Color using Ruby - Stack Overflow

    May 16, 2024 · You have to open the color palette in a graphics program like GIMP or Photoshop. How can I output something that shows the color of a specific rgb (or other) value? That's a …

  6. shell - Ruby - Print with color output - Stack Overflow

    Dec 17, 2014 · Ruby - Print with color output Asked 11 years, 2 months ago Modified 11 years ago Viewed 3k times

  7. ruby on rails - How do I print / puts with color? - Stack Overflow

    Jun 24, 2010 · How do I print / puts with color? Asked 15 years, 6 months ago Modified 9 years, 11 months ago Viewed 3k times

  8. Convert RGB Color to HEX Color Ruby - Stack Overflow

    Jan 10, 2022 · I am not able to get correct hex values when I try to convert the rgb color from JSON string to the HEX code. This is my code lane :test_code do update_android_strings( …

  9. How can I change the default syntax coloring in ruby 3.0's IRB

    Mar 2, 2021 · I'm very happy to be using the most recent ruby 3.0; as well as having access to the updated command-line interpreter, which does syntax highlighting and coloring. However, the …

  10. ruby - Colors in irb / rails console - Stack Overflow

    Jul 16, 2014 · $ ruby color_test.rb I should be red And the test is actually red. Horray. However, the same is not happening in the rails console: