Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. CSS Color Names

CSS Color Names

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
14 Posts 9 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • bleistift2@sopuli.xyzB This user is from outside of this forum
    bleistift2@sopuli.xyzB This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    Brought to you by the unholy marriage between incompatible, pre-existing standards.

    savvywolf@pawb.socialS suzyq@sh.itjust.worksS I 3 Replies Last reply
    208
    • bleistift2@sopuli.xyzB [email protected]

      Brought to you by the unholy marriage between incompatible, pre-existing standards.

      savvywolf@pawb.socialS This user is from outside of this forum
      savvywolf@pawb.socialS This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      Got curious about this.

      https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme :

      One notable difference between X11 and W3C is the case of "Gray" and its variants. In HTML, "Gray" is specifically reserved for the 128 triplet (50% gray)  . However, in X11, "gray" was assigned to the 190 triplet (74.5%)  , which is close to W3C "Silver" at 192 (75.3%)  , and had "Light Gray" at 211 (83%)   and "Dark Gray" at 169 (66%)   counterparts. As a result, the combined CSS 3.0 color list that prevails on the web today produces "Dark Gray"   as a significantly lighter tone than plain "Gray"  , because "Dark Gray" was descended from X11 – for it did not exist in HTML nor CSS level 1[8] – while "Gray" was descended from HTML.

      F V 2 Replies Last reply
      79
      • bleistift2@sopuli.xyzB [email protected]

        Brought to you by the unholy marriage between incompatible, pre-existing standards.

        suzyq@sh.itjust.worksS This user is from outside of this forum
        suzyq@sh.itjust.worksS This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Stuff like this is why I just used the hex color code vs the color name back in the day.

        I 1 Reply Last reply
        19
        • suzyq@sh.itjust.worksS [email protected]

          Stuff like this is why I just used the hex color code vs the color name back in the day.

          I This user is from outside of this forum
          I This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          hsl is superior

          F 1 Reply Last reply
          4
          • bleistift2@sopuli.xyzB [email protected]

            Brought to you by the unholy marriage between incompatible, pre-existing standards.

            I This user is from outside of this forum
            I This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            Dude, "green" is not even close. The actual "green" is painful to look at

            bleistift2@sopuli.xyzB 1 Reply Last reply
            0
            • I [email protected]

              hsl is superior

              F This user is from outside of this forum
              F This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              A 1 Reply Last reply
              12
              • savvywolf@pawb.socialS [email protected]

                Got curious about this.

                https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme :

                One notable difference between X11 and W3C is the case of "Gray" and its variants. In HTML, "Gray" is specifically reserved for the 128 triplet (50% gray)  . However, in X11, "gray" was assigned to the 190 triplet (74.5%)  , which is close to W3C "Silver" at 192 (75.3%)  , and had "Light Gray" at 211 (83%)   and "Dark Gray" at 169 (66%)   counterparts. As a result, the combined CSS 3.0 color list that prevails on the web today produces "Dark Gray"   as a significantly lighter tone than plain "Gray"  , because "Dark Gray" was descended from X11 – for it did not exist in HTML nor CSS level 1[8] – while "Gray" was descended from HTML.

                F This user is from outside of this forum
                F This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                "256 Shades of Gray" could be an interesting book, nonetheless

                S 1 Reply Last reply
                22
                • savvywolf@pawb.socialS [email protected]

                  Got curious about this.

                  https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme :

                  One notable difference between X11 and W3C is the case of "Gray" and its variants. In HTML, "Gray" is specifically reserved for the 128 triplet (50% gray)  . However, in X11, "gray" was assigned to the 190 triplet (74.5%)  , which is close to W3C "Silver" at 192 (75.3%)  , and had "Light Gray" at 211 (83%)   and "Dark Gray" at 169 (66%)   counterparts. As a result, the combined CSS 3.0 color list that prevails on the web today produces "Dark Gray"   as a significantly lighter tone than plain "Gray"  , because "Dark Gray" was descended from X11 – for it did not exist in HTML nor CSS level 1[8] – while "Gray" was descended from HTML.

                  V This user is from outside of this forum
                  V This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  Ah man, thanks for digging this up! I was always confused/annoyed by this! πŸ€πŸ©ΆπŸ–€

                  1 Reply Last reply
                  2
                  • F [email protected]

                    "256 Shades of Gray" could be an interesting book, nonetheless

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    slightlydarkerbutnottoodarkgrey is my favourite grey

                    1 Reply Last reply
                    5
                    • I [email protected]

                      Dude, "green" is not even close. The actual "green" is painful to look at

                      bleistift2@sopuli.xyzB This user is from outside of this forum
                      bleistift2@sopuli.xyzB This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      Could you elaborate? These are the colors that are rendered when you use the keyword I’ve listed.

                      I 1 Reply Last reply
                      1
                      • bleistift2@sopuli.xyzB [email protected]

                        Could you elaborate? These are the colors that are rendered when you use the keyword I’ve listed.

                        I This user is from outside of this forum
                        I This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #11

                        Maybe I am confusing it with LaTeX \color{green}
                        I'm too lazy to check, tbh

                        1 Reply Last reply
                        0
                        • F [email protected]

                          A This user is from outside of this forum
                          A This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #12

                          oklch anyone?

                          F 1 Reply Last reply
                          1
                          • A [email protected]

                            oklch anyone?

                            F This user is from outside of this forum
                            F This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #13

                            It doesn't contain a labrador, but I'm open to being convinced. What's the advantage?

                            A 1 Reply Last reply
                            0
                            • F [email protected]

                              It doesn't contain a labrador, but I'm open to being convinced. What's the advantage?

                              A This user is from outside of this forum
                              A This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #14

                              it has lichs

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups