From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: fatiparty--- via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: min-colors 88 Date: Fri, 28 Jan 2022 14:55:34 +0100 (CET) Message-ID: References: <83bkzxdoba.fsf@gnu.org> <871r0tf21u.fsf@zoho.eu> <83zgngcmgy.fsf@gnu.org> <83y230ccsr.fsf@gnu.org> <83sft8cax0.fsf@gnu.org> Reply-To: fatiparty@tutanota.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28978"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Help Gnu Emacs To: Fatiparty Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 28 15:19:01 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDS5d-0007LK-3y for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 15:19:01 +0100 Original-Received: from localhost ([::1]:35322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDS5a-0007VE-TK for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 09:18:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDRj0-00034D-MF for help-gnu-emacs@gnu.org; Fri, 28 Jan 2022 08:55:38 -0500 Original-Received: from w1.tutanota.de ([81.3.6.162]:58234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDRiy-0006rh-VT; Fri, 28 Jan 2022 08:55:38 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 3E5E1FA0004; Fri, 28 Jan 2022 13:55:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643378134; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=QgvkrV4olAaD1MOTJkMjwEtZ8pfyhNNP/q6evXLsSWk=; b=sHf4TBQVZMWL1Ywe1lIudAl22ICGOz74JEF81Eil/7CeBd+k5uNr9xkwRzsX5Kyb xSxVABTwSnAXYzMOS6BCkz60V2M/qNp6tBDzO2A9C/ClI7PfrQTqbA2FEFTCMhCDBYX xmFxgHfa6uYo+aD7NybHYzU62m6B5W9PBPwNCIOIIEBs9wbc01ZBwuaDevDkbmkXoJ+ bwZSmbzTUXitqehbiRbM9e7YvPfxgwEw4DPVXG4FJM4abguwgdCVAuBcPLXwQVl6qvD pmyWw21sHfiafMn5YCVeHRRYTBu1MNJOR942e5YyerGoasU/gvGqNveu1m0+doEq4Re 7Q+j+OYSnQ== In-Reply-To: Received-SPF: pass client-ip=81.3.6.162; envelope-from=fatiparty@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135597 Archived-At: Jan 29, 2022, 00:55 by help-gnu-emacs@gnu.org: > Jan 29, 2022, 00:16 by eliz@gnu.org: > >>> Date: Fri, 28 Jan 2022 12:54:49 +0100 (CET) >>> From: fatiparty@tutanota.com >>> Cc: Help Gnu Emacs >>> >>> For instance I can invent a code #d166ff >>> =C2=A0( ((class color) (min-colors 88) (background dark)) >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :foreground "#d166ff" ) >>> >>> That would not mean that #d166ff actually exists for 256 colour availab= ility. >>> >> >> It doesn't matter. Emacs will find a color that is the closest to >> that RGB value, and use it. See tty-colors.el. >> > > Are there more colours available than those in the color-name-rgb-alist ? > I have called xdpyinfo, getting (1, 4, 8, 15, 16, 24, 32) =C2=A0 xdpyinfo | awk '$1=3D=3D"depth" && sub(/,$/, "", $2) {print $2}'