Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

pywal vs colorz: repeating color values #493

Closed
@prankousky

Description

@prankousky

Hi,

I noticed that pywal and colorz produce different values for the same image; when I run wal -i ~/.wp/current.png, it will create a ~/.cache/wal/colors.Xresources file containing this

! X colors.
! Generated by 'wal'
*foreground:        #d3d3d3
*background:        #0e1215
*.foreground:       #d3d3d3
*.background:       #0e1215
emacs*foreground:   #d3d3d3
emacs*background:   #0e1215
URxvt*foreground:   #d3d3d3
XTerm*foreground:   #d3d3d3
UXTerm*foreground:  #d3d3d3
URxvt*color0e1215:   [100]#0e1215
XTerm*background:   #0e1215
UXTerm*background:  #0e1215
URxvt*cursorColor:  #d3d3d3
XTerm*cursorColor:  #d3d3d3
UXTerm*cursorColor: #d3d3d3
URxvt*borderColor:  [100]#0e1215

! Colors 0-15.
*.color0: #0e1215
*color0:  #0e1215
*.color1: #F4E70A
*color1:  #F4E70A
*.color2: #0F7898
*color2:  #0F7898
*.color3: #E30689
*color3:  #E30689
*.color4: #E3678D
*color4:  #E3678D
*.color5: #0F8FAD
*color5:  #0F8FAD
*.color6: #01ABE9
*color6:  #01ABE9
*.color7: #d3d3d3
*color7:  #d3d3d3
*.color8: #939393
*color8:  #939393
*.color9: #F4E70A
*color9:  #F4E70A
*.color10: #0F7898
*color10:  #0F7898
*.color11: #E30689
*color11:  #E30689
*.color12: #E3678D
*color12:  #E3678D
*.color13: #0F8FAD
*color13:  #0F8FAD
*.color14: #01ABE9
*color14:  #01ABE9
*.color15: #d3d3d3
*color15:  #d3d3d3

! Black color that will not be affected by bold highlighting.
*.color66: #0e1215
*color66:  #0e1215

! Xclock colors.
XClock*foreground: #d3d3d3
XClock*background: #0e1215
XClock*majorColor:  rgba:d3/d3/d3/ff
XClock*minorColor:  rgba:d3/d3/d3/ff
XClock*hourColor:   rgba:d3/d3/d3/ff
XClock*minuteColor: rgba:d3/d3/d3/ff
XClock*secondColor: rgba:d3/d3/d3/ff

! Set depth to make transparency work.
URxvt*depth: 32

Here, color0/color9, color1/color10, color2/color11 etc. are a always the same color!

When I run colorz ~/.wp/current.png, the color palette looks a bit different

grafik
(sorry for the crappy screenshot, there is something wrong with my script)

These colors are always similar, but not exactly the same.

Am I doing something wrong, or do I have to finetune paywal more? Thank you for your ideas :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions