Giter VIP home page Giter VIP logo

chalk.c's Issues

User Custom Color Support: CHALK_RGB, CHALK_HEX

https://en.wikipedia.org/wiki/ANSI_escape_code

  1. CHALK_RGB(R, G, B, STRING) 맀크둜 ν•¨μˆ˜ 생성
    • FG(Foreground, κΈ€μžμƒ‰) λ³€κ²½ν•¨μˆ˜
    • μ‚¬μš©μ„±μ„ μœ„ν•΄μ„œ R, G, BλŠ” μ •μˆ˜λ‘œ λ°›κ³ , #R, #G, #B둜 stringizeν•΄μ„œ μ‚¬μš©
  2. CHALK_BG_RGB(R, G, B, STRING) 맀크둜 ν•¨μˆ˜ 생성
    • BG(Background, 배경색) λ³€κ²½ν•¨μˆ˜
    • μ‚¬μš©μ„±μ„ μœ„ν•΄μ„œ μœ„μ™€κ°™μ΄ μ •μˆ˜λ‘œ R, G, B λ°›μŒ.
  3. CHALK_HEX(HEX, STRING) 맀크둜 ν•¨μˆ˜ 생성
    • ν—₯사 μ½”λ“œλ‘œ FG(Foreground, κΈ€μžμƒ‰) λ³€κ²½ν•œλ‹€.
    • 컬러 ν—₯사 μ½”λ“œλ₯Ό λ°›μ•„μ„œ μ‚¬μš©
    • μ •μˆ˜λ‘œ λ°›λŠ”κ²Œ 쒋을듯? 0x302010 μ΄λŸ°μ‹μœΌλ‘œ
    • μ •μˆ˜λ₯Ό λΉ„νŠΈμ—°μ‚°ν•΄μ„œ R, G, B μͺΌκ° λ‹€μŒμ— μœ„μ—μ„œ λ§Œλ“  CHALK_RGB ν•¨μˆ˜μ— λ„£μœΌλ©΄ λ˜μ§€ μ•Šμ„κΉŒ...
  4. CHALK_BG_HEX(HEX, STRING) 맀크둜 ν•¨μˆ˜ 생성
    • ν—₯사 μ½”λ“œλ‘œ BG(Background, 배경색) λ³€κ²½ν•œλ‹€.
    • 컬러 ν—₯사 μ½”λ“œλ₯Ό λ°›μ•„μ„œ μ‚¬μš©

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.